usn-7456-1
Vulnerability from osv_ubuntu
Published
2025-04-24 12:38
Modified
2026-04-27 14:11
Summary
php-twig vulnerabilities
Details
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)
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-51754",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "php-twig",
"binary_version": "2.12.5-1ubuntu0.1~esm2"
},
{
"binary_name": "php-twig-cssinliner-extra",
"binary_version": "2.12.5-1ubuntu0.1~esm2"
},
{
"binary_name": "php-twig-extra-bundle",
"binary_version": "2.12.5-1ubuntu0.1~esm2"
},
{
"binary_name": "php-twig-html-extra",
"binary_version": "2.12.5-1ubuntu0.1~esm2"
},
{
"binary_name": "php-twig-inky-extra",
"binary_version": "2.12.5-1ubuntu0.1~esm2"
},
{
"binary_name": "php-twig-intl-extra",
"binary_version": "2.12.5-1ubuntu0.1~esm2"
},
{
"binary_name": "php-twig-markdown-extra",
"binary_version": "2.12.5-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "php-twig",
"purl": "pkg:deb/ubuntu/php-twig@2.12.5-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.12.5-1ubuntu0.1~esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.11.3-2",
"2.12.1-1",
"2.12.2-1",
"2.12.3-1",
"2.12.5-1",
"2.12.5-1ubuntu0.1~esm1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-45411",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-51754",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "php-twig",
"binary_version": "3.3.8-2ubuntu4+esm2"
},
{
"binary_name": "php-twig-cache-extra",
"binary_version": "3.3.8-2ubuntu4+esm2"
},
{
"binary_name": "php-twig-cssinliner-extra",
"binary_version": "3.3.8-2ubuntu4+esm2"
},
{
"binary_name": "php-twig-extra-bundle",
"binary_version": "3.3.8-2ubuntu4+esm2"
},
{
"binary_name": "php-twig-html-extra",
"binary_version": "3.3.8-2ubuntu4+esm2"
},
{
"binary_name": "php-twig-inky-extra",
"binary_version": "3.3.8-2ubuntu4+esm2"
},
{
"binary_name": "php-twig-intl-extra",
"binary_version": "3.3.8-2ubuntu4+esm2"
},
{
"binary_name": "php-twig-markdown-extra",
"binary_version": "3.3.8-2ubuntu4+esm2"
},
{
"binary_name": "php-twig-string-extra",
"binary_version": "3.3.8-2ubuntu4+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "php-twig",
"purl": "pkg:deb/ubuntu/php-twig@3.3.8-2ubuntu4+esm2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.3.8-2ubuntu4+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.3.2-1ubuntu3",
"3.3.4-1",
"3.3.6-1",
"3.3.7-1",
"3.3.8-2ubuntu4",
"3.3.8-2ubuntu4+esm1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-45411",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-51754",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:24.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "php-twig",
"binary_version": "3.8.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-cache-extra",
"binary_version": "3.8.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-cssinliner-extra",
"binary_version": "3.8.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-extra-bundle",
"binary_version": "3.8.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-html-extra",
"binary_version": "3.8.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-inky-extra",
"binary_version": "3.8.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-intl-extra",
"binary_version": "3.8.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-markdown-extra",
"binary_version": "3.8.0-2ubuntu0.1~esm1"
},
{
"binary_name": "php-twig-string-extra",
"binary_version": "3.8.0-2ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "php-twig",
"purl": "pkg:deb/ubuntu/php-twig@3.8.0-2ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.8.0-2ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.7.0-1",
"3.7.1-1",
"3.8.0-2"
]
}
],
"aliases": [],
"details": "Fabien Potencier discovered that Twig did not run sandbox security checks\nin some circumstances. An attacker could possibly use this issue to cause\na denial of service or execute arbitrary commands. This issue only affected\nUbuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-45411)\n\nJamie Schouten discovered that Twig could bypass the security policy for\nan object call. An attacker could possibly use this issue to obtain\nsensitive information. (CVE-2024-51754)\n",
"id": "USN-7456-1",
"modified": "2026-04-27T14:11:42Z",
"published": "2025-04-24T12:38:00Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7456-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-45411"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-51754"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "php-twig vulnerabilities",
"upstream": [
"UBUNTU-CVE-2024-45411",
"UBUNTU-CVE-2024-51754"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…