Ubuntu 20.04 LTS / 22.04 LTS / 24.04 LTS : Twig vulnerabilities (USN-7456-1)

medium Nessus Plugin ID 234811

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 20.04 LTS / 22.04 LTS / 24.04 LTS host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-7456-1 advisory.

Fabien Potencier discovered that Twig did not run sandbox security checks in some circumstances. An attacker could possibly use this issue to cause a denial of service or execute arbitrary commands. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-45411)

Jamie Schouten discovered that Twig could bypass the security policy for an object call. An attacker could possibly use this issue to obtain sensitive information. (CVE-2024-51754)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-7456-1

Plugin Details

Severity: Medium

ID: 234811

File Name: ubuntu_USN-7456-1.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/24/2025

Updated: 4/24/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2024-45411

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.8

Threat Score: 1.5

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:php-twig, p-cpe:/a:canonical:ubuntu_linux:php-twig-cache-extra, p-cpe:/a:canonical:ubuntu_linux:php-twig-cssinliner-extra, p-cpe:/a:canonical:ubuntu_linux:php-twig-extra-bundle, p-cpe:/a:canonical:ubuntu_linux:php-twig-html-extra, p-cpe:/a:canonical:ubuntu_linux:php-twig-inky-extra, p-cpe:/a:canonical:ubuntu_linux:php-twig-intl-extra, p-cpe:/a:canonical:ubuntu_linux:php-twig-markdown-extra, p-cpe:/a:canonical:ubuntu_linux:php-twig-string-extra, cpe:/o:canonical:ubuntu_linux:24.04:-:lts

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 4/24/2025

Vulnerability Publication Date: 9/9/2024

Reference Information

CVE: CVE-2024-45411, CVE-2024-51754

USN: 7456-1