CVE-2022-30949: Path traversal in Jenkins REPO Plugin

CVE-2022-30949 · Severity: low · CVSS 3.1 · Published 2022-05-18

Path traversal in Jenkins REPO Plugin

Technologies: org.jenkins-ci.plugins:git (Maven), org.jenkins-ci.plugins:mercurial (Maven), org.jenkins-ci.plugins:repo (Maven). Vendors: Maven.

Quick answers

Is CVE-2022-30949 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-30949 being exploited in the wild.
How severe is CVE-2022-30949?
Low severity, with a CVSS score of 3.1, published 18 May 2022.
Which products and versions are affected?
org.jenkins-ci.plugins:git (Maven) ECOSYSTEM:introduced=0,fixed=4.11.2; org.jenkins-ci.plugins:mercurial (Maven) ECOSYSTEM:introduced=0,fixed=2.16.1; org.jenkins-ci.plugins:repo (Maven) ECOSYSTEM:introduced=0,fixed=1.14.1.
Is there a fix for CVE-2022-30949?
Yes. org.jenkins-ci.plugins:git (Maven): upgrade to 4.11.2 or later; org.jenkins-ci.plugins:mercurial (Maven): upgrade to 2.16.1 or later; org.jenkins-ci.plugins:repo (Maven): upgrade to 1.14.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-30949?
Check whether you run org.jenkins-ci.plugins:git (Maven), org.jenkins-ci.plugins:mercurial (Maven) or org.jenkins-ci.plugins:repo (Maven) 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

  • org.jenkins-ci.plugins:git (Maven): upgrade to 4.11.2 or later
    # set org.jenkins-ci.plugins:git to 4.11.2 in your pom.xml or build.gradle
  • org.jenkins-ci.plugins:mercurial (Maven): upgrade to 2.16.1 or later
    # set org.jenkins-ci.plugins:mercurial to 2.16.1 in your pom.xml or build.gradle
  • org.jenkins-ci.plugins:repo (Maven): upgrade to 1.14.1 or later
    # set org.jenkins-ci.plugins:repo to 1.14.1 in your pom.xml or build.gradle

Affected products

  • org.jenkins-ci.plugins:git (Maven) ECOSYSTEM:introduced=0,fixed=4.11.2
  • org.jenkins-ci.plugins:mercurial (Maven) ECOSYSTEM:introduced=0,fixed=2.16.1
  • org.jenkins-ci.plugins:repo (Maven) ECOSYSTEM:introduced=0,fixed=1.14.1

Identifiers

  • CVE-2022-30949
  • GHSA-8vfc-fcr2-47pj

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