SCA: security update for getgrav/grav (GHSA-qfv4-q44r-g7rv)

high Tenable Cloud Security Plugin ID 418101

Description

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

- Grav is an open-source, flat-file content management system. Prior to version 1.7.45, Grav validates
accessible functions through the Utils::isDangerousFunction function, but does not impose restrictions on
twig functions like twig_array_map, allowing attackers to bypass the validation and execute arbitrary
commands. Twig processing of static pages can be enabled in the front matter by any administrative user
allowed to create or edit pages. As the Twig processor runs unsandboxed, this behavior can be used to gain
arbitrary code execution and elevate privileges on the instance. Upgrading to patched version 1.7.45 can
mitigate this issue. (CVE-2024-28117)

See Also

https://github.com/advisories/GHSA-qfv4-q44r-g7rv

Plugin Details

Severity: High

ID: 418101

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/20/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: 9

Temporal Score: 7

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

CVSS Score Source: CVE-2024-28117

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/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: 3/22/2024

Vulnerability Publication Date: 3/21/2024

Reference Information

CVE: CVE-2024-28117

cwe: CWE-94