SCA: security update for github.com/beego/beego, github.com/beego/beego/v2 (GHSA-qx32-f6g6-fcfr)

critical Tenable Cloud Security Plugin ID 418393

Description

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

- The route lookup process in beego before 1.12.9 and 2.x before 2.0.3 allows attackers to bypass access
control. When a /p1/p2/:name route is configured, attackers can access it by appending .xml in various
places (e.g., p1.xml instead of p1). (CVE-2022-31259)

See Also

https://github.com/advisories/GHSA-qx32-f6g6-fcfr

Plugin Details

Severity: Critical

ID: 418393

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

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2022-31259

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

Vulnerability Publication Date: 5/21/2022

Reference Information

CVE: CVE-2022-31259

cwe: CWE-284