Skip to main content
VulnerabilityPublished Updated

CVE-2024-6345: Aws sam cli · setuptools vulnerable to Command Injection via package URL

Affects aws-sam-cliSource GCVE Database

0
Authoritative record:CVE-2024-6345· High 8.8

Not known to be exploited · CVSS 8.8 High : upgrade to 1.117.0 soon.

Data as of 26 Oct 2026, 19:43 UTC

CVSS 3.0 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.117.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade aws-sam-cli to 1.117.0.

Affected software

ProductAffectedFixed in
Homebrewaws-sam-clipkg:brew/aws-sam-cliOther threatsAffected
  • >=1.107.0 <1.117.0
Fixed in
  • 1.117.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in aws-sam-cli version 1.117.0 which includes setuptools 70.0 where this vulnerability is fixed. Users should upgrade affected aws-sam-cli installations to version 1.117.0 or later to remediate this issue. No other mitigations are indicated by the vendor advisory.

Description

CVE-2024-6345 is a high-severity vulnerability in the setuptools package_index module used by aws-sam-cli versions 1.107.0 through 1.116.9. It allows remote code execution via command injection through unsafe handling of package URLs in download functions. The flaw is fixed in setuptools version 70.0 and aws-sam-cli version 1.117.0.

References

Community reviews

Loading reviews…