GLSA-202210-14 : Gitea: Multiple Vulnerabilities

critical Nessus Plugin ID 166729

Description

The remote host is affected by the vulnerability described in GLSA-202210-14 (Gitea: Multiple Vulnerabilities)

- Cross-site Scripting (XSS) - Stored in GitHub repository go-gitea/gitea prior to 1.16.9. (CVE-2022-1928)

- An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse. (CVE-2022-32149)

- In Gitea before 1.16.9, it was possible for users to add existing issues to projects. Due to improper access controls, an attacker could assign any issue to any project in Gitea (there was no permission check for fetching the issue). As a result, the attacker would get access to private issue titles.
(CVE-2022-38183)

- Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled. (CVE-2022-42968)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

All Gitea users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=www-apps/gitea-1.17.3

See Also

https://security.gentoo.org/glsa/202210-14

https://bugs.gentoo.org/show_bug.cgi?id=848465

https://bugs.gentoo.org/show_bug.cgi?id=857819

https://bugs.gentoo.org/show_bug.cgi?id=868996

https://bugs.gentoo.org/show_bug.cgi?id=877355

Plugin Details

Severity: Critical

ID: 166729

File Name: gentoo_GLSA-202210-14.nasl

Version: 1.5

Type: local

Published: 10/31/2022

Updated: 10/6/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.7

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

CVSS Score Source: CVE-2022-1928

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

CVSS Score Source: CVE-2022-42968

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:gitea, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/31/2022

Vulnerability Publication Date: 5/29/2022

Reference Information

CVE: CVE-2022-1928, CVE-2022-32149, CVE-2022-38183, CVE-2022-42968

IAVB: 2022-B-0046-S