UBUNTU-CVE-2021-20314

Source
https://ubuntu.com/security/CVE-2021-20314
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20314.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-20314
Related
Published
2021-08-11T00:00:00Z
Modified
2021-08-11T00:00:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Stack buffer overflow in libspf2 versions below 1.2.11 when processing certain SPF macros can lead to Denial of service and potentially code execution via malicious crafted SPF explanation messages.

References

Affected packages

Ubuntu:Pro:16.04:LTS / libspf2

Package

Name
libspf2
Purl
pkg:deb/ubuntu/libspf2?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.10-6ubuntu0.1~esm1

Affected versions

1.*

1.2.10-6
1.2.10-6build1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.2.10-6ubuntu0.1~esm1",
            "binary_name": "libmail-spf-xs-perl"
        },
        {
            "binary_version": "1.2.10-6ubuntu0.1~esm1",
            "binary_name": "libmail-spf-xs-perl-dbgsym"
        },
        {
            "binary_version": "1.2.10-6ubuntu0.1~esm1",
            "binary_name": "libspf2-2"
        },
        {
            "binary_version": "1.2.10-6ubuntu0.1~esm1",
            "binary_name": "libspf2-2-dbg"
        },
        {
            "binary_version": "1.2.10-6ubuntu0.1~esm1",
            "binary_name": "libspf2-2-dbgsym"
        },
        {
            "binary_version": "1.2.10-6ubuntu0.1~esm1",
            "binary_name": "libspf2-dev"
        },
        {
            "binary_version": "1.2.10-6ubuntu0.1~esm1",
            "binary_name": "libspf2-dev-dbgsym"
        },
        {
            "binary_version": "1.2.10-6ubuntu0.1~esm1",
            "binary_name": "spfquery"
        },
        {
            "binary_version": "1.2.10-6ubuntu0.1~esm1",
            "binary_name": "spfquery-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / libspf2

Package

Name
libspf2
Purl
pkg:deb/ubuntu/libspf2?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.10-7ubuntu0.18.04.1~esm1

Affected versions

1.*

1.2.10-7build2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.2.10-7ubuntu0.18.04.1~esm1",
            "binary_name": "libmail-spf-xs-perl"
        },
        {
            "binary_version": "1.2.10-7ubuntu0.18.04.1~esm1",
            "binary_name": "libspf2-2"
        },
        {
            "binary_version": "1.2.10-7ubuntu0.18.04.1~esm1",
            "binary_name": "libspf2-2-dbg"
        },
        {
            "binary_version": "1.2.10-7ubuntu0.18.04.1~esm1",
            "binary_name": "libspf2-dev"
        },
        {
            "binary_version": "1.2.10-7ubuntu0.18.04.1~esm1",
            "binary_name": "spfquery"
        }
    ]
}

Ubuntu:20.04:LTS / libspf2

Package

Name
libspf2
Purl
pkg:deb/ubuntu/libspf2?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.10-7+deb9u2build0.20.04.1

Affected versions

1.*

1.2.10-7build3
1.2.10-7build4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.2.10-7+deb9u2build0.20.04.1",
            "binary_name": "libmail-spf-xs-perl"
        },
        {
            "binary_version": "1.2.10-7+deb9u2build0.20.04.1",
            "binary_name": "libspf2-2"
        },
        {
            "binary_version": "1.2.10-7+deb9u2build0.20.04.1",
            "binary_name": "libspf2-2-dbg"
        },
        {
            "binary_version": "1.2.10-7+deb9u2build0.20.04.1",
            "binary_name": "libspf2-dev"
        },
        {
            "binary_version": "1.2.10-7+deb9u2build0.20.04.1",
            "binary_name": "spfquery"
        }
    ]
}

Ubuntu:22.04:LTS / libspf2

Package

Name
libspf2
Purl
pkg:deb/ubuntu/libspf2?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.10-7.1ubuntu1

Affected versions

1.*

1.2.10-7.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.2.10-7.1ubuntu1",
            "binary_name": "libmail-spf-xs-perl"
        },
        {
            "binary_version": "1.2.10-7.1ubuntu1",
            "binary_name": "libspf2-2"
        },
        {
            "binary_version": "1.2.10-7.1ubuntu1",
            "binary_name": "libspf2-2-dbg"
        },
        {
            "binary_version": "1.2.10-7.1ubuntu1",
            "binary_name": "libspf2-dev"
        },
        {
            "binary_version": "1.2.10-7.1ubuntu1",
            "binary_name": "spfquery"
        }
    ]
}