Lookup for vulnerable packages by Package URL.
| Purl | pkg:composer/twig/twig@3.14.1 |
| Type | composer |
| Namespace | twig |
| Name | twig |
| Version | 3.14.1 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | false |
| Next_non_vulnerable_version | 3.19.0 |
| Latest_non_vulnerable_version | 3.26.0 |
| Affected_by_vulnerabilities |
|
| Fixing_vulnerabilities |
| 0 |
| url |
VCID-9abt-zxra-ekfy |
| vulnerability_id |
VCID-9abt-zxra-ekfy |
| summary |
Twig has unguarded calls to `__toString()` when nesting an object into an array
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). |
| references |
| 0 |
|
| 1 |
|
| 2 |
| reference_url |
https://github.com/twigphp/Twig |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
2.2 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N |
|
| 1 |
| value |
2.1 |
| scoring_system |
cvssv4 |
| scoring_elements |
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 |
|
| 2 |
| value |
LOW |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
|
| url |
https://github.com/twigphp/Twig |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
|
| fixed_packages |
|
| aliases |
CVE-2024-51754, GHSA-6377-hfv9-hqf6
|
| risk_score |
1.4 |
| exploitability |
0.5 |
| weighted_severity |
2.7 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-9abt-zxra-ekfy |
|
| 1 |
| url |
VCID-hrju-2rmb-yqen |
| vulnerability_id |
VCID-hrju-2rmb-yqen |
| summary |
Twig has unguarded calls to `__isset()` and to array-accesses when the sandbox is enabled
In a sandbox, and 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.** |
| references |
| 0 |
|
| 1 |
|
| 2 |
| reference_url |
https://github.com/twigphp/Twig |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
2.2 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N |
|
| 1 |
| value |
2.1 |
| scoring_system |
cvssv4 |
| scoring_elements |
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 |
|
| 2 |
| value |
LOW |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
|
| url |
https://github.com/twigphp/Twig |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
|
| fixed_packages |
|
| aliases |
CVE-2024-51755, GHSA-jjxq-ff2g-95vh
|
| risk_score |
1.4 |
| exploitability |
0.5 |
| weighted_severity |
2.7 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-hrju-2rmb-yqen |
|
|
| Risk_score | null |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:composer/twig/twig@3.14.1 |