Advisory

USN-5818-1

Also known as: CVE-2022-31631

Summary

php7.2, php7.4, php8.1 vulnerability

Details

It was discovered that PHP incorrectly handled certain inputs.
An attacker could possibly use this issue to cause a crash or
execute arbitrary code.

Severity

Not rated by the source.

Dates

Published
2023-01-23 13:14 UTC
Modified
2026-04-27 16:29 UTC

Affected packages and fixes

php7.2

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 7.2.24-0ubuntu0.18.04.16 (ecosystem)

Fixed versions

7.2.24-0ubuntu0.18.04.16

Fix

  • Fixed version 7.2.24-0ubuntu0.18.04.16
    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.

php7.4

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

7.4.3-4ubuntu2.17

Fix

  • Fixed version 7.4.3-4ubuntu2.17
    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.10 (ecosystem)

Fixed versions

8.1.2-1ubuntu2.10

Fix

  • Fixed version 8.1.2-1ubuntu2.10
    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