Advisory

DEBIAN-CVE-2025-7339

Also known as: CVE-2025-7339

Summary

The record has no summary.

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.

Severity

Low Basis: CVSS v3 score 3.4, vector CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2025-07-17 16:15 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

node-on-headers

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

node-on-headers

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.0.2-4 (ecosystem)

Fixed versions

1.0.2-4

Fix

  • Fixed version 1.0.2-4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-on-headers

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.0.2-4 (ecosystem)

Fixed versions

1.0.2-4

Fix

  • Fixed version 1.0.2-4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences