p PatchFirst

CVE-2021-33912

CVE-2021-33912

CVSS 9.8 · Critical · EPSS 10.3% · Fix available

Compare with your installed version

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

  • libspf2 Alpine 3.14Update to 1.2.11-r0
  • libspf2 Alpine 3.15Update to 1.2.11-r0
  • libspf2 Alpine 3.16Update to 1.2.11-r0
  • libspf2 Alpine 3.17Update to 1.2.11-r0
  • and 13 more

Check the installed version:

apk list -I -o libspf2

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.

libspf2 before 1.2.11 has a four-byte heap-based buffer overflow that might allow remote attackers to execute arbitrary code (via an unauthenticated e-mail message from anywhere on the Internet) with a crafted SPF DNS record, because of incorrect sprintf usage in SPF_record_expand_data in spf_expand.c. The vulnerable code may be part of the supply chain of a site's e-mail infrastructure (e.g., with additional configuration, Exim can use libspf2; the Postfix web site links to unofficial patches for use of libspf2 with Postfix; older versions of spfquery relied on libspf2) but most often is not.

Published
Updated

Fixes in distributions

  • USN-6584-2 · Ubuntu Pro 16.04 LTS ·
  • USN-6584-1 · Ubuntu 20.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS ·
  • DLA-2890-1 · Debian 9 ·

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • libspf2 Alpine 3.14

    Affected ranges
    • ECOSYSTEM: < 1.2.11-r0

    Update to 1.2.11-r0

  • libspf2 Alpine 3.15

    Affected ranges
    • ECOSYSTEM: < 1.2.11-r0

    Update to 1.2.11-r0

  • libspf2 Alpine 3.16

    Affected ranges
    • ECOSYSTEM: < 1.2.11-r0

    Update to 1.2.11-r0

  • libspf2 Alpine 3.17

    Affected ranges
    • ECOSYSTEM: < 1.2.11-r0

    Update to 1.2.11-r0

  • libspf2 Alpine 3.18

    Affected ranges
    • ECOSYSTEM: < 1.2.11-r0

    Update to 1.2.11-r0

  • libspf2 Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 1.2.11-r0

    Update to 1.2.11-r0

  • libspf2 Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 1.2.11-r0

    Update to 1.2.11-r0

  • libspf2 Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 1.2.11-r0

    Update to 1.2.11-r0

  • libspf2 Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 1.2.11-r0

    Update to 1.2.11-r0

  • libspf2 Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 1.2.11-r0

    Update to 1.2.11-r0

  • libspf2 Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 1.2.11-r0

    Update to 1.2.11-r0

  • libspf2 Debian 12

    Affected ranges
    • ECOSYSTEM: < 1.2.10-7.1

    Update to 1.2.10-7.1

  • libspf2 Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.2.10-7.1

    Update to 1.2.10-7.1

  • libspf2 Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.2.10-7.1

    Update to 1.2.10-7.1

  • libspf2 Ubuntu Pro 16.04 LTS

    Versions
    • 1.2.10-6
    • 1.2.10-6build1
    • 1.2.10-6ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: < 1.2.10-6ubuntu0.1~esm2

    Update to 1.2.10-6ubuntu0.1~esm2

  • libspf2 Ubuntu Pro 18.04 LTS

    Versions
    • 1.2.10-7build2
    Affected ranges
    • ECOSYSTEM: < 1.2.10-7ubuntu0.18.04.1~esm1

    Update to 1.2.10-7ubuntu0.18.04.1~esm1

  • libspf2 Ubuntu 20.04 LTS

    Versions
    • 1.2.10-7build3
    • 1.2.10-7build4
    Affected ranges
    • ECOSYSTEM: < 1.2.10-7+deb9u2build0.20.04.1

    Update to 1.2.10-7+deb9u2build0.20.04.1

Original sources

Check your server →