Advisory

UBUNTU-CVE-2023-3824

Also known as: CVE-2023-3824

Summary

The record has no summary.

Details

In PHP version 8.0.* before 8.0.30,  8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.

Severity

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

Dates

Published
2023-08-11 06:15 UTC
Modified
2026-10-21 23:00 UTC

Affected packages and fixes

php7.4

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 7.4.3-4ubuntu2.20 (ecosystem)

Fixed versions

7.4.3-4ubuntu2.20

Fix

  • Fixed version 7.4.3-4ubuntu2.20
    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.

php8.1

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 8.1.2-1ubuntu2.14 (ecosystem)

Fixed versions

8.1.2-1ubuntu2.14

Fix

  • Fixed version 8.1.2-1ubuntu2.14
    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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences