UBUNTU-CVE-2025-7339

Source
https://ubuntu.com/security/CVE-2025-7339
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7339.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-7339
Upstream
Published
2025-07-17T16:15:00Z
Modified
2026-01-20T18:45:45.880933Z
Severity
  • 3.4 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:16.04:LTS
node-on-headers

Package

Name
node-on-headers
Purl
pkg:deb/ubuntu/node-on-headers@1.0.0-1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.0.0-1",
            "binary_name": "node-on-headers"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7339.json"
Ubuntu:18.04:LTS
node-on-headers

Package

Name
node-on-headers
Purl
pkg:deb/ubuntu/node-on-headers@1.0.0-1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.0.0-1",
            "binary_name": "node-on-headers"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7339.json"
Ubuntu:20.04:LTS
node-on-headers

Package

Name
node-on-headers
Purl
pkg:deb/ubuntu/node-on-headers@1.0.2-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.1-1
1.0.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.0.2-1",
            "binary_name": "node-on-headers"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7339.json"
Ubuntu:22.04:LTS
node-on-headers

Package

Name
node-on-headers
Purl
pkg:deb/ubuntu/node-on-headers@1.0.2-2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.2-1
1.0.2-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.0.2-2",
            "binary_name": "node-on-headers"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7339.json"
Ubuntu:24.04:LTS
node-on-headers

Package

Name
node-on-headers
Purl
pkg:deb/ubuntu/node-on-headers@1.0.2-2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.2-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.0.2-2",
            "binary_name": "node-on-headers"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7339.json"
Ubuntu:25.10
node-on-headers

Package

Name
node-on-headers
Purl
pkg:deb/ubuntu/node-on-headers@1.0.2-4?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.2-2
1.0.2-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.0.2-4",
            "binary_name": "node-on-headers"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7339.json"