Exploited vulnerabilities · Jenkins
CVE-2024-23897
Jenkins Command Line Interface (CLI) Path Traversal Vulnerability
Jenkins Command Line Interface (CLI) contains a path traversal vulnerability that allows attackers limited read access to certain files, which can lead to code execution.
Description in the NVD
Jenkins 2.441 and earlier, LTS 2.426.2 and earlier does not disable a feature of its CLI command parser that replaces an '@' character followed by a file path in an argument with the file's contents, allowing unauthenticated attackers to read arbitrary files on the Jenkins controller file system.
Required action according to CISA
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
What to do now
- Check your exposureFind out whether Jenkins Jenkins Command Line Interface (CLI) runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- nvd.nist.gov/vuln/detail/CVE-2024-23897
- www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314
- www.jenkins.io/changelog-stable/#v2.440.1
- github.com/jenkinsci/jenkins/commit/554f03782057c499c49bbb06575f0d28b5200edb
- www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-
- www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revea
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897
- github.com/advisories/GHSA-6f9g-cxwr-q5jr
- nvd.nist.gov/vuln/detail/CVE-2024-23897
More exploited vulnerabilities in Jenkins products
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.