CVE-2023-30623

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-30623
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30623.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-30623
Aliases
Published
2023-04-24T22:15:09Z
Modified
2024-05-14T12:53:30.826257Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

embano1/wip is a GitHub Action written in Bash. Prior to version 2, the embano1/wip action uses the github.event.pull_request.title parameter in an insecure way. The title parameter is used in a run statement - resulting in a command injection vulnerability due to string interpolation. This vulnerability can be triggered by any user on GitHub. They just need to create a pull request with a commit message containing an exploit. (Note that first-time PR requests will not be run - but the attacker can submit a valid PR before submitting an invalid PR). The commit can be genuine, but the commit message can be malicious. This can be used to execute code on the GitHub runners and can be used to exfiltrate any secrets used in the CI pipeline, including repository tokens. Version 2 has a fix for this issue.

References

Affected packages

Git / github.com/embano1/wip

Affected ranges

Type
GIT
Repo
https://github.com/embano1/wip
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.0.0