containers icon indicating copy to clipboard operation
containers copied to clipboard

[bitnami/cassandra] Vulnerability finding for setuptools <70.0.0 (CVE-2024-6345)

Open toksvaeth opened this issue 2 years ago • 4 comments

Name and Version

bitnami/cassandra:{4.0.13-debian-12-r9,4.1.6-debian-12-r1}

What architecture are you using?

amd64

What steps will reproduce the bug?

trivy image --ignore-unfixed bitnami/cassandra:4.0.13-debian-12-r9

...

Python (python-pkg)

Total: 1 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 1, CRITICAL: 0)

┌───────────────────────┬───────────────┬──────────┬────────┬───────────────────┬───────────────┬─────────────────────────────────────────────────────┐
│        Library        │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │                        Title                        │
├───────────────────────┼───────────────┼──────────┼────────┼───────────────────┼───────────────┼─────────────────────────────────────────────────────┤
│ setuptools (METADATA) │ CVE-2024-6345 │ HIGH     │ fixed  │ 68.2.2            │ 70.0.0        │ pypa/setuptools: Remote code execution via download │
│                       │               │          │        │                   │               │ functions in the package_index module in...         │
│                       │               │          │        │                   │               │ https://avd.aquasec.com/nvd/cve-2024-6345           │
└───────────────────────┴───────────────┴──────────┴────────┴───────────────────┴───────────────┴─────────────────────────────────────────────────────┘

opt/bitnami/python (bitnami)

Total: 3 (UNKNOWN: 0, LOW: 1, MEDIUM: 1, HIGH: 1, CRITICAL: 0)

┌────────────┬───────────────┬──────────┬────────┬───────────────────┬───────────────┬───────────────────────────────────────────────────────┐
│  Library   │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │                         Title                         │
├────────────┼───────────────┼──────────┼────────┼───────────────────┼───────────────┼───────────────────────────────────────────────────────┤
│ python     │ CVE-2024-6923 │ MEDIUM   │ fixed  │ 3.11.9-11         │ 3.12.5        │ cpython: python: email module doesn't properly quotes │
│            │               │          │        │                   │               │ newlines in email headers, allowing...                │
│            │               │          │        │                   │               │ https://avd.aquasec.com/nvd/cve-2024-6923             │
│            ├───────────────┼──────────┤        │                   ├───────────────┼───────────────────────────────────────────────────────┤
│            │ CVE-2024-4032 │ LOW      │        │                   │ 3.12.4        │ python: incorrect IPv4 and IPv6 private ranges        │
│            │               │          │        │                   │               │ https://avd.aquasec.com/nvd/cve-2024-4032             │
├────────────┼───────────────┼──────────┤        ├───────────────────┼───────────────┼───────────────────────────────────────────────────────┤
│ setuptools │ CVE-2024-6345 │ HIGH     │        │ 68.2.2            │ 70.0.0        │ pypa/setuptools: Remote code execution via download   │
│            │               │          │        │                   │               │ functions in the package_index module in...           │
│            │               │          │        │                   │               │ https://avd.aquasec.com/nvd/cve-2024-6345             │
└────────────┴───────────────┴──────────┴────────┴───────────────────┴───────────────┴───────────────────────────────────────────────────────┘

What is the expected behavior?

No detected vulnerability findings outside of those packaged with Apache Cassandra.

What do you see instead?

setuptools vuln in the scan.

Additional information

Relates to https://github.com/bitnami/containers/issues/70924

I suspect cassandra isn't the only other container bringing in this version of python and libs.

toksvaeth avatar Aug 22 '24 15:08 toksvaeth

Hi!

Thank you so much for reporting. We are in the process or releasing a new revision of the container with the issue fixed

javsalgar avatar Aug 23 '24 08:08 javsalgar

This information is beneficial for those who need it aarpmembership

jerry4422cherry avatar Sep 04 '24 08:09 jerry4422cherry

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] avatar Sep 20 '24 01:09 github-actions[bot]

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

github-actions[bot] avatar Sep 25 '24 01:09 github-actions[bot]