Menu

Star on GitHub · 3.2k

CVE-2024-51754

2.2 · LOW

Twig is a template language for PHP.

Published Nov 6, 2024CWE-668EPSS 0.43%

Overview

CVE-2024-51754 is a low-severity vulnerability. It was published on November 6, 2024 and has a CVSS 3.1 base score of 2.2 (LOW).

This vulnerability has a CVSS 3.1 base score of 2.2, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical description

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). 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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-51754?

CVE-2024-51754 is a low-severity vulnerability. It was published on November 6, 2024 and has a CVSS 3.1 base score of 2.2 (LOW).

How severe is CVE-2024-51754?

This vulnerability has a CVSS 3.1 base score of 2.2, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-51754?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-51754?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-51754 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related LOW CVEs from 2024

View all