CVE Tools

CVE-2022-1993

Path Traversal in gogs/gogs

Public exploit available. Not confirmed exploited in the wild yet. A vendor fix is available.

Published Updated Sources: CVE.org, NVD, GitHub

What to do

The vendor has published a fix. Version details are below where the sources state them.

Steps

Written by AI from the record
  1. Check your Gogs version and confirm it is prior to 0.12.9.
  2. Review whether any non-admin accounts exist that could be “low-level” users in your setup.
  3. Upgrade Gogs to 0.12.9 or later (fixed version).
  4. If you cannot upgrade right away, restrict network access to Gogs and limit who can log in, then plan the upgrade immediately after.

What it is

From the CVE record

Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.

In plain language

Written by AI from the record

If you run Gogs version prior to 0.12.9, an attacker who has basic access can trick it into reading or writing files outside its normal folders—so you should patch.

CVE-2022-1993 is a path traversal issue in gogs/gogs before 0.12.9 that allows an authenticated user with low-level privileges to manipulate file paths and read/write files outside the intended application directory over the network.

If you're affected

  • Sensitive file exposure
  • Unauthorized file modification
  • Service disruption risk
  • Credential/secret leakage

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS98th
Public exploit
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

1 source with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

36% chance of exploitation activity in the next 30 days, which ranks it in the 98th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

The patch came 471 days before any public exploit.

  1. EPSS band changehigh → moderateepss band change
  2. OpenVAS check added
  3. EPSS band changelow → high
  4. Public exploit / PoCsource: other
  5. Patch availablerecord updated
  6. Publishedweakness classified, att&ck mapped

Affected products

Technical detail

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Scored 8.1 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability NoneNo availability impact

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Gogs/gogs, not every advisory. This one: public exploit.

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store