zc_plugin_dm icon indicating copy to clipboard operation
zc_plugin_dm copied to clipboard

CVE-2025-7339 (Low) detected in on-headers-1.0.2.tgz

Open mend-bolt-for-github[bot] opened this issue 4 months ago • 0 comments

CVE-2025-7339 - Low Severity Vulnerability

Vulnerable Library - on-headers-1.0.2.tgz

Execute a listener when a response is about to write headers

Library home page: https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz

Path to dependency file: /dmreactplugin/package.json

Path to vulnerable library: /dmreactplugin/package.json

Dependency Hierarchy:

  • react-scripts-4.0.3.tgz (Root Library)
    • webpack-dev-server-3.11.1.tgz
      • compression-1.7.4.tgz
        • :x: on-headers-1.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 41f949b863ead7c74b72a01845dbe0d88c24a364

Found in base branch: main

Vulnerability Details

on-headers is a node.js middleware for listening to when a response writes headers. 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()". Users should upgrade to version 1.1.0 to receive a patch. Uses are strongly 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. Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2025-07-17

URL: CVE-2025-7339

CVSS 3 Score Details (3.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: High
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/jshttp/on-headers/security/advisories/GHSA-76c9-3jph-rj3q

Release Date: 2025-07-17

Fix Resolution (on-headers): 1.1.0

Direct dependency fix Resolution (react-scripts): 5.0.0


Step up your Open Source Security Game with Mend here