CVE-2024-54148

Summary

Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the server. The vulnerability is fixed in 0.13.1.

Affected Software

VendorProductVersion RangeStatus
gogsgogs< 0.13.1affected

Weaknesses

  • CWE-61: CWE-61: UNIX Symbolic Link (Symlink) Following
  • CWE-22: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: yes
    • Technical Impact: total

References