Home / nexB / scancode.io / CVE-2023-39523
CVE-2023-39523: is it exploited, and which versions of nexB scancode.io are affected and fixed?
CVE-2023-39523 is a command injection vulnerability in nexB scancode.io. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: scancodeio before 32.5.1 (GitHub advisory GHSA-2ggp-cmvm-f62f). Fixed in 32.5.1 (GitHub advisory GHSA-2ggp-cmvm-f62f). Severity: Medium (6.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:37 UTC.
What is CVE-2023-39523?
ScanCode.io command injection in docker image fetch process
ScanCode.io is a server to script and automate software composition analysis with ScanPipe pipelines. Prior to version 32.5.1, the software has a possible command injection vulnerability in the docker fetch process as it allows to append malicious commands in the `docker_reference` parameter. In the function `scanpipe/pipes/fetch.py:fetch_docker_image` the parameter `docker_reference` is user controllable. The `docker_reference` variable is then passed to the vulnerable function `get_docker_image_platform`. However, the `get_docker_image_plaform` function constructs a shell command with the passed `docker_reference`. The `pipes.run_command` then executes the shell command without any prior sanitization, making the function vulnerable to command injections. A malicious user who is able to create or add inputs to a project can inject commands. Although the command injections are blind and the user will not receive direct feedback without logs, it is still possible to cause damage to the server/container. The vulnerability appears for example if a malicious user adds a semicolon after the input of `docker://;`, it would allow appending malicious commands. Version 32.5.1 contains a patch for this issue. The `docker_reference` input should be sanitized to avoid command injections and, as a workaround, one may avoid creating commands with user controlled input directly.
From the CVE record by GitHub_M, last updated October 3, 2024, 16:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nexB | scancode.io | < 32.5.1 |
As the CVE record by GitHub_M states it, last updated October 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | scancodeio | < 32.5.1 | 32.5.1 | GHSA-2ggp-cmvm-f62f |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 9, 2023. Summary: ScanCode.io command injection in docker image fetch process.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nexb | scancode.io | before 32.5.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:12 UTC.
How severe is CVE-2023-39523?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-39523 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, October 3, 2024)
- EPSS
- 2.92% probability of exploitation activity in the next 30 days, percentile 87.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-77 Improper Neutralization of Special Elements used in a Command
Where are the vendor advisories and references?
- https://github.com/nexB/scancode.io/security/advisories/GHSA-2ggp-cmvm-f62f x_refsource_CONFIRM
- https://github.com/nexB/scancode.io/commit/07ec0de1964b14bf085a1c9a27ece2b61ab6105c x_refsource_MISC
- https://github.com/nexB/scancode.io/blob/main/scanpipe/pipes/fetch.py#L185 x_refsource_MISC
- https://github.com/nexB/scancode.io/releases/tag/v32.5.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 3, 2023
- Published
- August 7, 2023, 20:55 UTC
- CVE record updated
- October 3, 2024, 16:00 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:12 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:37 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect scancode.io?
- Aug 14, 2023CVE-2023-40024 nexB scancode.io: cross-site scripting (XSS)
Questions about CVE-2023-39523
Is CVE-2023-39523 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 2.92% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of nexB scancode.io are affected by CVE-2023-39523?
scancodeio before 32.5.1, per the GitHub advisory GHSA-2ggp-cmvm-f62f. The tables above give every range the sources list.
Which version fixes CVE-2023-39523?
32.5.1, per the GitHub advisory GHSA-2ggp-cmvm-f62f. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-39523?
Medium (6.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-39523?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.