Advisory

UBUNTU-CVE-2023-29197

Also known as: CVE-2023-29197

Summary

The record has no summary.

Details

guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Affected versions are subject to improper header parsing. An attacker could sneak in a newline (\n) into both the header names and values. While the specification states that \r\n\r\n is used to terminate the header list, many servers in the wild will also accept \n\n. This is a follow-up to CVE-2022-24775 where the fix was incomplete. The issue has been patched in versions 1.9.1 and 2.4.5. There are no known workarounds for this vulnerability. Users are advised to upgrade.

Severity

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

Dates

Published
2023-04-17 22:15 UTC
Modified
2026-02-04 03:16 UTC

Affected packages and fixes

php-guzzlehttp-psr7

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

php-guzzlehttp-psr7

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.4.2-0.1+deb10u2build0.20.04.1 (ecosystem)

Fixed versions

1.4.2-0.1+deb10u2build0.20.04.1

Fix

  • Fixed version 1.4.2-0.1+deb10u2build0.20.04.1
    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.

php-nyholm-psr7

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences