Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.plugins/convert-to-pipeline
  4. ›
  5. CVE-2023-28677

CVE-2023-28677: Jenkins Convert To Pipeline Plugin vulnerable to command injection

April 2, 2023 (updated February 25, 2025)

Jenkins Convert To Pipeline Plugin 1.0 and earlier uses basic string concatenation to convert Freestyle projects’ Build Environment, Build Steps, and Post-build Actions to the equivalent Pipeline step invocations.

This allows attackers able to configure Freestyle projects to prepare a crafted configuration that injects Pipeline script code into the (unsandboxed) Pipeline resulting from a conversion by Convert To Pipeline Plugin. If an administrator converts the Freestyle project to a Pipeline, the script will be pre-approved.

References

  • github.com/advisories/GHSA-7c44-m589-36w7
  • github.com/jenkinsci/convert-to-pipeline-plugin
  • nvd.nist.gov/vuln/detail/CVE-2023-28677
  • www.jenkins.io/security/advisory/2023-03-21/

Code Behaviors & Features

Detect and mitigate CVE-2023-28677 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

maven/org.jenkins-ci.plugins/convert-to-pipeline/CVE-2023-28677.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:14 +0000.