Skip to content

CVE-2024-55947 Gogs has a Path Traversal in file update API

HighCVSS 8.7 EPSS 77.7% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
gogs < 0.13.1; = < 0.13.1 0.13.1 Fixed
gogs.io/gogs(Go) < 0.13.1 0.13.1 Fixed

Affected products

ProductAffected versionsFixed in
gogs.io/gogs(Go) < 0.13.1 0.13.1
gogs = < 0.13.1 No fix listed
gogs < 0.13.1 0.13.1

References