p PatchFirst

CVE-2021-42771

CVE-2021-42771

CVSS 8.7 · High · EPSS 0.8% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

apk list -I -o py3-babel

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Babel.Locale in Babel before 2.9.1 allows attackers to load arbitrary locale .dat files (containing serialized Python objects) via directory traversal, leading to code execution.

Published
Updated

Fixes in distributions

  • openSUSE-SU-2026:11986-1 · openSUSE Tumbleweed ·
  • RHSA-2021:4162 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 crb ·
  • RHSA-2021:4151 · Red Hat Enterprise Linux 8 appstream ·
  • RHSA-2021:3252 · Red Hat rhel software collections 3 el7 ·
  • RHSA-2021:3254 · Red Hat rhel software collections 3 el7 ·
  • RHSA-2021:4201 · Red Hat Enterprise Linux 8 appstream ·
  • openSUSE-SU-2024:14127-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2024:11602-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2022:3590-1 · SUSE Enterprise Storage 6, SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server for SAP Applications 15, SUSE Linux Enterprise Server for SAP Applications 15 SP1 ·
  • SUSE-SU-2022:0029-1 · SUSE HPE Helion OpenStack 8, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8 ·
  • SUSE-SU-2022:0028-1 · SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 9 ·
  • SUSE-SU-2021:4161-1 · SUSE Linux Enterprise Module for Public Cloud 12 ·
  • openSUSE-SU-2021:1553-1 · openSUSE Leap 15.2 ·
  • DSA-5018-1 · Debian 10 ·
  • SUSE-SU-2021:3945-1 · SUSE Linux Enterprise Micro 5.0, SUSE Linux Enterprise Micro 5.1, SUSE Linux Enterprise Module for Basesystem 15 SP2, SUSE Linux Enterprise Module for Basesystem 15 SP3, SUSE Linux Enterprise Module for Python 2 15 SP2, SUSE Linux Enterprise Module for Python 2 15 SP3 ·
  • openSUSE-SU-2021:3945-1 · openSUSE Leap 15.3 ·
  • ALSA-2021:4162 · AlmaLinux 8 ·
  • RLSA-2021:4162 · Rocky Linux 8 ·
  • ALSA-2021:4201 · AlmaLinux 8 ·
  • RLSA-2021:4201 · Rocky Linux 8 ·
  • ALSA-2021:4151 · AlmaLinux 8 ·
  • RLSA-2021:4151 · Rocky Linux 8 ·
  • DLA-2790-1 · Debian 9 ·

Stack: system · python

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • py3-babel Alpine 3.16

    Affected ranges
    • ECOSYSTEM: < 2.9.1-r0

    Update to 2.9.1-r0

  • py3-babel Alpine 3.17

    Affected ranges
    • ECOSYSTEM: < 2.9.1-r0

    Update to 2.9.1-r0

  • py3-babel Alpine 3.18

    Affected ranges
    • ECOSYSTEM: < 2.9.1-r0

    Update to 2.9.1-r0

  • py3-babel Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 2.9.1-r0

    Update to 2.9.1-r0

  • py3-babel Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 2.9.1-r0

    Update to 2.9.1-r0

  • py3-babel Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 2.9.1-r0

    Update to 2.9.1-r0

  • py3-babel Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 2.9.1-r0

    Update to 2.9.1-r0

  • py3-babel Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 2.9.1-r0

    Update to 2.9.1-r0

  • py3-babel Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 2.9.1-r0

    Update to 2.9.1-r0

  • python-babel Debian 12

    Affected ranges
    • ECOSYSTEM: < 2.8.0+dfsg.1-7

    Update to 2.8.0+dfsg.1-7

  • python-babel Debian 13

    Affected ranges
    • ECOSYSTEM: < 2.8.0+dfsg.1-7

    Update to 2.8.0+dfsg.1-7

  • python-babel Debian 14

    Affected ranges
    • ECOSYSTEM: < 2.8.0+dfsg.1-7

    Update to 2.8.0+dfsg.1-7

  • babel PyPI

    Versions
    • 0.8
    • 0.8.1
    • 0.9
    • 0.9.1
    • 0.9.2
    • 0.9.3
    All versions (31)
    • 0.9.4
    • 0.9.5
    • 0.9.6
    • 1.0
    • 1.1
    • 1.2
    • 1.3
    • 2.0
    • 2.1.1
    • 2.2.0
    • 2.3.0
    • 2.3.1
    • 2.3.2
    • 2.3.3
    • 2.3.4
    • 2.4.0
    • 2.5.0
    • 2.5.1
    • 2.5.2
    • 2.5.3
    • 2.6.0
    • 2.7.0
    • 2.8.0
    • 2.8.1
    • 2.9.0
    Affected ranges
    • ECOSYSTEM: < 2.9.1

    Update to 2.9.1

Original sources

Check your server →