Debian dla-4186 : php-twig - security update

low Nessus Plugin ID 237463

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 11 host has packages installed that are affected by a vulnerability as referenced in the dla-4186 advisory.

------------------------------------------------------------------------- Debian LTS Advisory DLA-4186-1 [email protected] https://www.debian.org/lts/security/ Markus Koschany May 28, 2025 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : php-twig Version : 2.14.3-1+deb11u4 CVE ID : CVE-2024-51754

Twig is a template language for PHP. In a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance).

For Debian 11 bullseye, this problem has been fixed in version 2.14.3-1+deb11u4.

We recommend that you upgrade your php-twig packages.

For the detailed security status of php-twig please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/php-twig

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS Attachment:
signature.asc Description: This is a digitally signed message part

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

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

Solution

Upgrade the php-twig packages.

See Also

https://security-tracker.debian.org/tracker/source-package/php-twig

https://security-tracker.debian.org/tracker/CVE-2024-51754

https://packages.debian.org/source/bullseye/php-twig

Plugin Details

Severity: Low

ID: 237463

File Name: debian_DLA-4186.nasl

Version: 1.1

Type: local

Agent: unix

Published: 5/29/2025

Updated: 5/29/2025

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

Risk Information

VPR

Risk Factor: Low

Score: 3.9

CVSS v2

Risk Factor: Low

Base Score: 1.7

Temporal Score: 1.3

Vector: CVSS2#AV:N/AC:H/Au:M/C:P/I:N/A:N

CVSS Score Source: CVE-2024-51754

CVSS v3

Risk Factor: Low

Base Score: 2.2

Temporal Score: 2

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

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

CVSS v4

Risk Factor: Low

Base Score: 2.1

Threat Score: 0.5

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:php-twig-cssinliner-extra, p-cpe:/a:debian:debian_linux:php-twig, p-cpe:/a:debian:debian_linux:php-twig-markdown-extra, p-cpe:/a:debian:debian_linux:php-twig-intl-extra, p-cpe:/a:debian:debian_linux:php-twig-inky-extra, p-cpe:/a:debian:debian_linux:php-twig-doc, p-cpe:/a:debian:debian_linux:php-twig-html-extra, p-cpe:/a:debian:debian_linux:php-twig-extra-bundle

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/28/2025

Vulnerability Publication Date: 11/6/2024

Reference Information

CVE: CVE-2024-51754