SCA: security update for github.com/swaggo/http-swagger (GHSA-49w7-5r33-jm9m)

medium Tenable Cloud Security Plugin ID 410086

Description

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

- http-swagger before 1.2.6 allows XSS via PUT requests, because a file that has been uploaded (via
httpSwagger.WrapHandler and *webdav.memFile) can subsequently be accessed via a GET request. NOTE: this is
independently fixable with respect to CVE-2022-24863, because (if a solution continued to allow PUT
requests) large files could have been blocked without blocking JavaScript, or JavaScript could have been
blocked without blocking large files. (CVE-2024-25712)

See Also

https://github.com/advisories/GHSA-49w7-5r33-jm9m

Plugin Details

Severity: Medium

ID: 410086

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

Score: 2.3

Percentile: 9.14

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2024-25712

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/29/2024

Vulnerability Publication Date: 2/11/2024

Reference Information

CVE: CVE-2024-25712

cwe: CWE-79