ghsa-76c9-3jph-rj3q
Vulnerability from github
Published
2025-07-17 21:17
Modified
2025-07-17 21:17
Severity ?
VLAI Severity ?
Summary
on-headers is vulnerable to http response header manipulation
Details
Impact
A bug in on-headers versions < 1.1.0
may result in response headers being inadvertently modified when an array is passed to response.writeHead()
Patches
Users should upgrade to 1.1.0
Workarounds
Uses are encouraged to upgrade to 1.1.0
, but this issue can be worked around by passing an object to response.writeHead()
rather than an array.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "on-headers" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.1.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-7339" ], "database_specific": { "cwe_ids": [ "CWE-241" ], "github_reviewed": true, "github_reviewed_at": "2025-07-17T21:17:19Z", "nvd_published_at": "2025-07-17T16:15:35Z", "severity": "LOW" }, "details": "### Impact\n\nA bug in on-headers versions `\u003c 1.1.0` may result in response headers being inadvertently modified when an array is passed to `response.writeHead()`\n\n### Patches\n\nUsers should upgrade to `1.1.0`\n\n### Workarounds\n\nUses are encouraged to upgrade to `1.1.0`, but this issue can be worked around by passing an object to `response.writeHead()` rather than an array.", "id": "GHSA-76c9-3jph-rj3q", "modified": "2025-07-17T21:17:19Z", "published": "2025-07-17T21:17:19Z", "references": [ { "type": "WEB", "url": "https://github.com/jshttp/on-headers/security/advisories/GHSA-76c9-3jph-rj3q" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-7339" }, { "type": "WEB", "url": "https://github.com/expressjs/morgan/issues/315" }, { "type": "WEB", "url": "https://github.com/jshttp/on-headers/issues/15" }, { "type": "WEB", "url": "https://github.com/jshttp/on-headers/commit/c6e384908c9c6127d18831d16ab0bd96e1231867" }, { "type": "WEB", "url": "https://cna.openjsf.org/security-advisories.html" }, { "type": "PACKAGE", "url": "https://github.com/jshttp/on-headers" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "on-headers is vulnerable to http response header manipulation" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…