GHSA-r7h7-chh4-5rvm

Suggest an improvement
Source
https://github.com/advisories/GHSA-r7h7-chh4-5rvm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-r7h7-chh4-5rvm/GHSA-r7h7-chh4-5rvm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r7h7-chh4-5rvm
Aliases
Published
2024-04-24T20:56:53Z
Modified
2024-04-24T21:11:22.865980Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Improper Access Control in Gitea
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-284"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-24T20:56:53Z"
}
References

Affected packages

Go / github.com/go-gitea/gitea

Package

Name
github.com/go-gitea/gitea
View open source insights on deps.dev
Purl
pkg:golang/github.com/go-gitea/gitea

Affected ranges

Type
SEMVER
Events
Introduced
0.9.99
Fixed
1.12.6