GHSA-7c44-m589-36w7

Suggest an improvement
Source
https://github.com/advisories/GHSA-7c44-m589-36w7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-7c44-m589-36w7/GHSA-7c44-m589-36w7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7c44-m589-36w7
Aliases
  • CVE-2023-28677
Published
2023-04-02T21:30:17Z
Modified
2023-11-08T04:12:13.537936Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Jenkins Convert To Pipeline Plugin vulnerable to command injection
Details

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.

Database specific
{
    "nvd_published_at": "2023-04-02T21:15:00Z",
    "github_reviewed_at": "2023-04-04T17:11:17Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-77"
    ]
}
References

Affected packages

Maven / org.jenkins-ci.plugins:convert-to-pipeline

Package

Name
org.jenkins-ci.plugins:convert-to-pipeline
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/convert-to-pipeline

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0

Affected versions

1.*

1.0