CVE-2024-39931: GO-2024-2970 - Gogs allows deletion of internal files in github.com/gogs/gogs

CVE-2024-39931 · Severity: low · CVSS 3.1 · Published 2024-07-09

Gogs allows deletion of internal files in github.com/gogs/gogs

Technologies: github.com/gogs/gogs (Go), gogs.io/gogs (Go). Vendors: Go.

Quick answers

Is CVE-2024-39931 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-39931 being exploited in the wild.
How severe is CVE-2024-39931?
Low severity, with a CVSS score of 3.1, published 9 July 2024.
Which products and versions are affected?
github.com/gogs/gogs (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=0.13.0; gogs.io/gogs (Go) SEMVER:introduced=0,fixed=0.13.1.
Is there a fix for CVE-2024-39931?
Yes. gogs.io/gogs (Go): upgrade to 0.13.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-39931?
Check whether you run github.com/gogs/gogs (Go) or gogs.io/gogs (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • gogs.io/gogs (Go): upgrade to 0.13.1 or later
    go get gogs.io/gogs@v0.13.1

Affected products

  • github.com/gogs/gogs (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=0.13.0
  • gogs.io/gogs (Go) SEMVER:introduced=0,fixed=0.13.1

Identifiers

  • CVE-2024-39931
  • GHSA-2vgj-3pvg-xh4w
  • GHSA-ccqv-43vm-4f3w
  • GO-2024-2970

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.