SCA: security update for getgrav/grav (GHSA-whr7-m3f8-mpm8)

high Tenable Self-Hosted Container Security Plugin ID 419949

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Grav is a flat-file content management system. Prior to version 1.7.42, the patch for CVE-2022-2073, a
server-side template injection vulnerability in Grav leveraging the default `filter()` function, did not
block other built-in functions exposed by Twig's Core Extension that could be used to invoke arbitrary
unsafe functions, thereby allowing for remote code execution. A patch in version 1.74.2 overrides the
built-in Twig `map()` and `reduce()` filter functions in
`system/src/Grav/Common/Twig/Extension/GravExtension.php` to validate the argument passed to the filter in
`$arrow`. (CVE-2023-34448)

See Also

https://github.com/advisories/GHSA-whr7-m3f8-mpm8

Plugin Details

Severity: High

ID: 419949

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.58

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.3

Temporal Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:M/C:C/I:C/A:C

CVSS Score Source: CVE-2023-34448

CVSS v3

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/16/2023

Vulnerability Publication Date: 6/14/2023

Reference Information

CVE: CVE-2023-34448