[ASA-202011-26] gitea: insufficient validation

Morten Linderud foxboron at archlinux.org
Sat Dec 5 14:27:57 UTC 2020


Arch Linux Security Advisory ASA-202011-26
==========================================

Severity: Medium
Date    : 2020-11-26
CVE-ID  : CVE-2020-28991
Package : gitea
Type    : insufficient validation
Remote  : Yes
Link    : https://security.archlinux.org/AVG-1299

Summary
=======

The package gitea before version 1.12.6-1 is vulnerable to insufficient
validation.

Resolution
==========

Upgrade to 1.12.6-1.

# pacman -Syu "gitea>=1.12.6-1"

The problem has been fixed upstream in version 1.12.6.

Workaround
==========

None.

Description
===========

Gitea 0.9.99 through 1.12.x before 1.12.6 does not prevent a git
protocol path that specifies a TCP port number and also contains
newlines (with URL encoding) in ParseRemoteAddr in
modules/auth/repo_form.go, causing partial SSRF.

Impact
======

A remote attacker might be able to trick a user into performing an
unwanted action via SSRF.

References
==========

https://github.com/go-gitea/gitea/releases/tag/v1.12.6
https://github.com/go-gitea/gitea/commit/480efbdb96e4092493ec1e3683b2ab688ac95096
https://security.archlinux.org/CVE-2020-28991
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20201205/c6d7d6cd/attachment-0001.sig>


More information about the arch-security mailing list