---
title: 'USN-6584-1: Libspf2 vulnerabilities | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-6584-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-6584-1

---

# USN-6584-1: Libspf2 vulnerabilities

Publication date

15 January 2024

Overview

Several security issues were fixed in Libspf2.

Releases

[20.04 LTS](https://ubuntu.com/security/notices?release=focal)
[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)

---

Open side navigation

## Packages

* [libspf2](https://ubuntu.com/security/cves?package=libspf2) - Sender Policy Framework for SMTP authorization

## Details

Philipp Jeitner and Haya Shulman discovered that Libspf2 incorrectly handled
certain inputs. If a user or an automated system were tricked into opening a
specially crafted input file, a remote attacker could possibly use this issue
to cause a denial of service or execute arbitrary code. ([CVE-2021-20314](https://ubuntu.com/security/CVE-2021-20314))

It was discovered that Libspf2 incorrectly handled certain inputs. If a user or
an automated system were tricked into opening a specially crafted input file, a
remote attacker could possibly use this issue to cause a denial of service or
execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and
Ubuntu 20.04 LTS. ([CVE-2021-33912](https://ubuntu.com/security/CVE-2021-33912), [CVE-2021-33913](https://ubuntu.com/security/CVE-2021-33913))

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 20.04 LTS focal | [libmail-spf-xs-perl](https://launchpad.net/ubuntu/+source/libspf2) –  [1.2.10-7+deb9u2build0.20.04.1](https://launchpad.net/ubuntu/+source/libspf2/1.2.10-7+deb9u2build0.20.04.1) | | |
| [libspf2-2](https://launchpad.net/ubuntu/+source/libspf2) –  [1.2.10-7+deb9u2build0.20.04.1](https://launchpad.net/ubuntu/+source/libspf2/1.2.10-7+deb9u2build0.20.04.1) | | |
| [libspf2-dev](https://launchpad.net/ubuntu/+source/libspf2) –  [1.2.10-7+deb9u2build0.20.04.1](https://launchpad.net/ubuntu/+source/libspf2/1.2.10-7+deb9u2build0.20.04.1) | | |
| [spfquery](https://launchpad.net/ubuntu/+source/libspf2) –  [1.2.10-7+deb9u2build0.20.04.1](https://launchpad.net/ubuntu/+source/libspf2/1.2.10-7+deb9u2build0.20.04.1) | | |
| 18.04 LTS bionic | [libmail-spf-xs-perl](https://launchpad.net/ubuntu/+source/libspf2) –  1.2.10-7ubuntu0.18.04.1~esm1   Ubuntu Pro | | |
| [libspf2-2](https://launchpad.net/ubuntu/+source/libspf2) –  1.2.10-7ubuntu0.18.04.1~esm1   Ubuntu Pro | | |
| [libspf2-dev](https://launchpad.net/ubuntu/+source/libspf2) –  1.2.10-7ubuntu0.18.04.1~esm1   Ubuntu Pro | | |
| [spfquery](https://launchpad.net/ubuntu/+source/libspf2) –  1.2.10-7ubuntu0.18.04.1~esm1   Ubuntu Pro | | |
| 16.04 LTS xenial | [libmail-spf-xs-perl](https://launchpad.net/ubuntu/+source/libspf2) –  1.2.10-6ubuntu0.1~esm1   Ubuntu Pro | | |
| [libspf2-2](https://launchpad.net/ubuntu/+source/libspf2) –  1.2.10-6ubuntu0.1~esm1   Ubuntu Pro | | |
| [libspf2-dev](https://launchpad.net/ubuntu/+source/libspf2) –  1.2.10-6ubuntu0.1~esm1   Ubuntu Pro | | |
| [spfquery](https://launchpad.net/ubuntu/+source/libspf2) –  1.2.10-6ubuntu0.1~esm1   Ubuntu Pro | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2021-33913](https://ubuntu.com/security/CVE-2021-33913)
* [CVE-2021-33912](https://ubuntu.com/security/CVE-2021-33912)
* [CVE-2021-20314](https://ubuntu.com/security/CVE-2021-20314)

## Related notices

* [USN-6584-2](https://ubuntu.com/security/notices/USN-6584-2)
