GLSA-202210-14 : Gitea: Multiple Vulnerabilities

critical Nessus Plugin ID 166729


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.

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


All Gitea users should upgrade to the latest version:

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

See Also

Plugin Details

Severity: Critical

ID: 166729

File Name: gentoo_GLSA-202210-14.nasl

Version: 1.4

Type: local

Published: 10/31/2022

Updated: 12/15/2022

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

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

Temporal Vector: E:U/RL:OF/RC:C

CVSS Score Source: CVE-2022-1928


Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Temporal Vector: E:U/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 Ease: No known 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