SCA: security update for getgrav/grav (GHSA-2m7x-c7px-hp58)

high Tenable Cloud Security Plugin ID 408982

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, due to the
unrestricted access to twig extension class from grav context, an attacker can redefine the escape
function 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. Version
1.7.45 contains a patch for this issue. (CVE-2024-28119)

See Also

https://github.com/advisories/GHSA-2m7x-c7px-hp58

Plugin Details

Severity: High

ID: 408982

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: 9

Temporal Score: 7

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

CVSS Score Source: CVE-2024-28119

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-28119

cwe: CWE-94