{"schemaVersion":3,"id":"CVE-2024-51755","aliases":["UBUNTU-CVE-2024-51755","DEBIAN-CVE-2024-51755"],"status":"published","duplicateOf":null,"title":null,"description":"Twig is a template language for PHP. In a sandbox, an attacker can access attributes of Array-like objects as they were not checked by the security policy. They are now checked via the property policy and the `__isset()` method is now called after the security check. This is a BC break. This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue.","dates":{"published":"2024-11-06T19:27:05.347Z","modified":"2024-11-07T15:12:59.408Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.2,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":1.8,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":1.8,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00425,"percentile":0.35709,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.0040000000000000105,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00429},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00425,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00425,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00425,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00425,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00425,"percentile":0.35709}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00429,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00425,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00425,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00425,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00425,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00425,"percentile":0.35709}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere","description":"The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/668.html"}],"affected":[{"vendor":"debian","product":"php-twig","name":"php-twig","label":"php-twig","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php-twig","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 3.14.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 3.14.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php-twig","name":"php-twig","label":"php-twig","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php-twig","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"twig","name":"twig","label":"twig","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/twig","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"twig","label":"Twig","category":"framework"}},"hubHref":null},{"vendor":"twigphp","product":"twig","name":"Twig","label":"twig","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.11.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.12.0, < 3.14.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.11.2 | ≥ 3.12.0, < 3.14.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"twig","label":"Twig","category":"framework"}},"hubHref":"/vendor/twigphp/twig"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-jjxq-ff2g-95vh","label":"github.com/twigphp/Twig/security/advisories/GHSA-jjxq-ff2g-95vh","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/twigphp/Twig/commit/831c148e786178e5f2fde9db67266be3bf241c21","label":"github.com/twigphp/Twig/commit/831c148e786178e5f2fde9db67266be3bf241c21","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2024-51755","label":"ubuntu.com/security/CVE-2024-51755","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-51755","label":"www.cve.org/CVERecord?id=CVE-2024-51755","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-51755","label":"security-tracker.debian.org/tracker/CVE-2024-51755","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-11-06T19:27:05.347Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-07T15:12:59.408Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":9,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T19:19:09.993Z","stale":false,"partial":false}}