Skip to content

pip version 24.2 vulnerability #15489

@akasaundhan

Description

@akasaundhan

Describe the bug
We are seeing vulnerability for pip version 24.2 which is coming from mcr.microsoft.com/azurelinux/base/python:3.12 because it has pip version 24.2 when I run docker run --rm mcr.microsoft.com/azurelinux/base/python:3.12 pip --version.

However I am not sure pip vulnerability does not appear for image azurelinux/base/python:3.12 while it appears in our service using it(probably have been suppressed or something). Its not working for us simply just by doing pip upgrade, we have to remove the pip installed from mcr.microsoft.com/azurelinux/base/python:3.12 and then install pip to

vul:
5005553 │ Python (Pip) Security Update for pip (GHSA-4xh5-x5gv-qwph) │
│ │ http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-8869
│ │ Risk: HIGH - CVSS: 8.6 │
│ │ Publish Date: 25 September 2025 │
│ │ 1. Library pip │
│ │ Installed: 24.2 - Fixed: 25.3 │
│ │ Language: Python │
│ │ Path: usr/lib/python3.12/site-packages/pip-24.2.dist-info/METADATA

To Reproduce
Steps to reproduce the behavior:
We are doing following steps:

  1. FROM mcr.microsoft.com/azurelinux/base/python:3.12 AS build
  2. FROM mcr.microsoft.com/azure-cli:2.80.0-azurelinux3.0
  3. COPY --from=build /ServiceName /ServiceName
    COPY --from=build /usr/lib/ /usr/lib/
    COPY --from=build /usr/bin/ /usr/bin/

Expected behavior

Screenshots

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions