SCA: security update for gogs.io/gogs (GHSA-px5r-fqj6-r2f8)

medium Tenable Self-Hosted Container Security Plugin ID 432424

Description

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

- In Gogs 0.11.53, an attacker can use a crafted .eml file to trigger MIME type sniffing, which leads to
XSS, as demonstrated by Internet Explorer, because an "X-Content-Type-Options: nosniff" header is not
sent. (CVE-2018-17031)

See Also

https://github.com/advisories/GHSA-px5r-fqj6-r2f8

Plugin Details

Severity: Medium

ID: 432424

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 8/8/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.42

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2018-17031

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: 5/14/2022

Vulnerability Publication Date: 9/14/2018

Reference Information

CVE: CVE-2018-17031

cwe: CWE-79