GHSA-CJ7V-W2C7-CP7C

Vulnerability from github – Published: 2025-03-14 18:30 – Updated: 2025-04-14 22:25
VLAI?
Summary
nest allows a remote attacker to execute arbitrary code via the Content-Type header
Details

File Upload vulnerability in nestjs nest prior to v.11.0.16 allows a remote attacker to execute arbitrary code via the Content-Type header.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@nestjs/common"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "11.0.0-next.1"
            },
            {
              "fixed": "11.0.16"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "npm",
        "name": "@nestjs/common"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "10.4.16"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2024-29409"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-27T21:13:49Z",
    "nvd_published_at": "2025-03-14T18:15:27Z",
    "severity": "MODERATE"
  },
  "details": "File Upload vulnerability in nestjs nest prior to v.11.0.16 allows a remote attacker to execute arbitrary code via the Content-Type header.",
  "id": "GHSA-cj7v-w2c7-cp7c",
  "modified": "2025-04-14T22:25:17Z",
  "published": "2025-03-14T18:30:51Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-29409"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nestjs/nest/issues/13311#issuecomment-1993839495"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nestjs/nest/issues/14876"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nestjs/nest/issues/14876#issuecomment-2796888038"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nestjs/nest/pull/14881"
    },
    {
      "type": "WEB",
      "url": "https://gist.github.com/aydinnyunus/801342361584d1491c67a820a714f53f"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/nestjs/nest"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nestjs/nest/blob/83a48b2c7396985144b7a6cd5d3bee1abb7c5d81/packages/common/pipes/file/file-type.validator.ts#L19"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nestjs/nest/releases/tag/v10.4.16"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nestjs/nest/releases/tag/v11.0.16"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "nest allows a remote attacker to execute arbitrary code via the Content-Type header"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…