p PatchFirst

CVE-2021-24031

CVE-2021-24031

CVSS 5.5 · Medium · EPSS 0.5% · Fix available

Compare with your installed version

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

  • zstandardUpdate to 1.4.1
  • zstd Alpine 3.14Update to 1.4.1-r0
  • zstd Alpine 3.15Update to 1.4.1-r0
  • zstd Alpine 3.16Update to 1.4.1-r0
  • and 14 more

Check the installed version:

apk list -I -o zstd

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.

In the Zstandard command-line utility prior to v1.4.1, output files were created with default permissions. Correct file permissions (matching the input) would only be set at completion time. Output files could therefore be readable or writable to unintended parties.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • zstandard

    Versions
    • ≥ 1.4.1, < unspecified: Not affected (custom)
    • ≥ unspecified, < 1.4.1: Affected (custom)

    Update to 1.4.1

  • zstd Alpine 3.14

    Affected ranges
    • ECOSYSTEM: < 1.4.1-r0

    Update to 1.4.1-r0

  • zstd Alpine 3.15

    Affected ranges
    • ECOSYSTEM: < 1.4.1-r0

    Update to 1.4.1-r0

  • zstd Alpine 3.16

    Affected ranges
    • ECOSYSTEM: < 1.4.1-r0

    Update to 1.4.1-r0

  • zstd Alpine 3.17

    Affected ranges
    • ECOSYSTEM: < 1.4.1-r0

    Update to 1.4.1-r0

  • zstd Alpine 3.18

    Affected ranges
    • ECOSYSTEM: < 1.4.1-r0

    Update to 1.4.1-r0

  • zstd Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 1.4.1-r0

    Update to 1.4.1-r0

  • zstd Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 1.4.1-r0

    Update to 1.4.1-r0

  • zstd Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 1.4.1-r0

    Update to 1.4.1-r0

  • zstd Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 1.4.1-r0

    Update to 1.4.1-r0

  • zstd Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 1.4.1-r0

    Update to 1.4.1-r0

  • zstd Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 1.4.1-r0

    Update to 1.4.1-r0

  • libzstd Debian 12

    Affected ranges
    • ECOSYSTEM: < 1.4.8+dfsg-1

    Update to 1.4.8+dfsg-1

  • libzstd Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.4.8+dfsg-1

    Update to 1.4.8+dfsg-1

  • libzstd Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.4.8+dfsg-1

    Update to 1.4.8+dfsg-1

  • libzstd Ubuntu Pro 16.04 LTS

    Versions
    • 0.4.5-1
    • 0.5.1-1
    • 1.3.1+dfsg-1~ubuntu0.16.04.1
    • 1.3.1+dfsg-1~ubuntu0.16.04.1+esm1
    • 1.3.1+dfsg-1~ubuntu0.16.04.1+esm2
    Affected ranges
    • ECOSYSTEM: < 1.3.1+dfsg-1~ubuntu0.16.04.1+esm3

    Update to 1.3.1+dfsg-1~ubuntu0.16.04.1+esm3

  • libzstd Ubuntu 18.04 LTS

    Versions
    • 1.3.1+dfsg-1
    • 1.3.2+dfsg-1
    • 1.3.2+dfsg2-1
    • 1.3.3+dfsg-1
    • 1.3.3+dfsg-1ubuntu1
    • 1.3.3+dfsg-2ubuntu1
    All versions (7)
    • 1.3.3+dfsg-2ubuntu1.1
    Affected ranges
    • ECOSYSTEM: < 1.3.3+dfsg-2ubuntu1.2

    Update to 1.3.3+dfsg-2ubuntu1.2

  • libzstd Ubuntu 20.04 LTS

    Versions
    • 1.4.3+dfsg-1
    • 1.4.4+dfsg-1
    • 1.4.4+dfsg-3
    Affected ranges
    • ECOSYSTEM: < 1.4.4+dfsg-3ubuntu0.1

    Update to 1.4.4+dfsg-3ubuntu0.1

Original sources

Check your server →