CVE & CISA-KEV Catalog

CVE-2022-23614

HIGHEPSS 94th pctl
8.8
CVSS v3
NVD

Description

Twig is an open source template language for PHP. When in a sandbox mode, the `arrow` parameter of the `sort` filter must be a closure to avoid attackers being able to run arbitrary PHP functions. In affected versions this constraint was not properly enforced and could lead to code injection of arbitrary PHP code. Patched versions now disallow calling non Closure in the `sort` filter as is the case for some other filters. Users are advised to upgrade.

How to fix

Remediation Available
php-twigDebian
Fixed in:2.14.3-1+deb11u1CVE-2022-23614
Fixed in:3.3.8-1CVE-2022-23614
Fixed in:3.3.8-1CVE-2022-23614
Fixed in:3.3.8-1CVE-2022-23614
php-twigUbuntu
Fixed in:1.23.1-1ubuntu4+esm1USN-5947-1
Fixed in:2.4.6-1ubuntu0.1~esm1USN-5947-1
Fixed in:2.12.5-1ubuntu0.1~esm1USN-5947-1
Fixed in:3.3.8-2ubuntu4+esm1USN-5947-1
twigUbuntu
Fixed in:1.23.1-1ubuntu4+esm1USN-5947-1
Fixed in:2.4.6-1ubuntu0.1~esm1USN-5947-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

8.21%probability of exploitation in 30 days
94thpercentile

High risk: more likely to be exploited than 94% of all known CVEs.

References

Related Vulnerabilities

Other CWE-74 (Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2013-2251Critical9.8100%KEVFix
CVE-2023-22527Critical9.8100%KEV + RansomFix
CVE-2019-2725Critical9.8100%KEV + RansomFix
CVE-2022-46169Critical9.8100%KEVFix
CVE-2022-35914Critical9.8100%KEV-
CVE-2019-17558High7.599%KEVFix
Embed a live status badge for CVE-2022-23614
CVE-2022-23614 severity badge

Markdown

[![CVE-2022-23614](https://tridentstack.com/cve/badge/CVE-2022-23614.svg)](https://tridentstack.com/cve/CVE-2022-23614)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-23614"><img src="https://tridentstack.com/cve/badge/CVE-2022-23614.svg" alt="CVE-2022-23614"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.