SCA: security update for drupal/core (GHSA-6955-67hm-vjjq)

high Tenable Self-Hosted Container Security Plugin ID 411326

Description

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

- Drupal core sanitizes filenames with dangerous extensions upon upload (reference: SA-CORE-2020-012) and
strips leading and trailing dots from filenames to prevent uploading server configuration files
(reference: SA-CORE-2019-010). However, the protections for these two vulnerabilities previously did not
work correctly together. As a result, if the site were configured to allow the upload of files with an
htaccess extension, these files' filenames would not be properly sanitized. This could allow bypassing the
protections provided by Drupal core's default .htaccess files and possible remote code execution on Apache
web servers. This issue is mitigated by the fact that it requires a field administrator to explicitly
configure a file field to allow htaccess as an extension (a restricted permission), or a contributed
module or custom code that overrides allowed file uploads. (CVE-2022-25277)

See Also

https://github.com/advisories/GHSA-6955-67hm-vjjq

Plugin Details

Severity: High

ID: 411326

Version: Revision 1.13

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.15

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.3

Temporal Score: 6.1

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

CVSS Score Source: CVE-2022-25277

CVSS v3

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

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:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/6/2022

Vulnerability Publication Date: 7/20/2022

Reference Information

CVE: CVE-2022-25277

cwe: CWE-434