Lucene search

K
ubuntucveUbuntu.comUB:CVE-2022-23614
HistoryFeb 04, 2022 - 12:00 a.m.

CVE-2022-23614

2022-02-0400:00:00
ubuntu.com
ubuntu.com
50

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.026 Low

EPSS

Percentile

90.3%

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.

Notes

Author Note
ccdm94 advisory mentions that all versions greater than 2.0.0 and less than 2.14.11 are affected, however, there is no ‘arrow’ parameter implemented in bionic’s version of Twig. As per commit 330024b6, support for the ‘arrow’ function was only added in Twig 2.12.
OSVersionArchitecturePackageVersionFilename
ubuntu20.04noarchphp-twig< 2.12.5-1ubuntu0.1~esm1UNKNOWN

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.026 Low

EPSS

Percentile

90.3%