CVEfocus › CVE database › CVE-2018-18926

CVE-2018-18926

CVSS 9.8 CriticalEPSS 3.0% (higher than 88% of CVEs)Published 2018-11-04Updated 2024-08-05Assigner: mitre

Gitea before 1.5.4 allows remote code execution because it does not properly validate session IDs. This is related to session ID handling in the go-macaron/session code for Macaron.

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
2Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04golang-code.gitea-gitUnder investigationUBUNTU-CVE-2018-18926
Ubuntu 20.04golang-code.gitea-gitFix pendingUBUNTU-CVE-2018-18926
Ubuntu 18.04golang-code.gitea-gitFix pendingUBUNTU-CVE-2018-18926
Go librarycode.gitea.io/giteaFixed1.5.2GHSA-hf6f-jq25-8gq9

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.