USN-5232-1

Source
https://ubuntu.com/security/notices/USN-5232-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5232-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5232-1
Upstream
Related
Published
2022-09-12T07:45:30Z
Modified
2026-05-20T16:03:11.482629929Z
Summary
fail2ban vulnerability
Details

Jakub Żoczek discovered that certain Fail2ban actions handled whois responses in an insecure way. If Fail2ban was configured to use certain mail actions like 'mail-whois' on a target system, a remote attacker who was able to control whois responses to this target system could possibly execute arbitrary code.

References

Affected packages

Ubuntu:Pro:14.04:LTS / fail2ban

Package

Name
fail2ban
Purl
pkg:deb/ubuntu/fail2ban?arch=source&distro=trusty%2Fesm

Affected ranges

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

Affected versions

0.*
0.8.10-3
0.8.11~pre1+git29-gccd2657-1
0.8.11-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "fail2ban",
            "binary_version": "0.8.11-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

cves_map
{
    "ecosystem": "Ubuntu:Pro:14.04:LTS",
    "cves": [
        {
            "id": "CVE-2021-32749",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5232-1.json"

Ubuntu:Pro:16.04:LTS / fail2ban

Package

Name
fail2ban
Purl
pkg:deb/ubuntu/fail2ban?arch=source&distro=esm-infra-legacy%2Fxenial

Affected ranges

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

Affected versions

0.*
0.9.3-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "fail2ban",
            "binary_version": "0.9.3-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

cves_map
{
    "ecosystem": "Ubuntu:Pro:16.04:LTS",
    "cves": []
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5232-1.json"

Ubuntu:Pro:18.04:LTS / fail2ban

Package

Name
fail2ban
Purl
pkg:deb/ubuntu/fail2ban?arch=source&distro=esm-apps%2Fbionic

Affected ranges

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

Affected versions

0.*
0.9.7-2
0.10.2-1
0.10.2-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "fail2ban",
            "binary_version": "0.10.2-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

cves_map
{
    "ecosystem": "Ubuntu:Pro:18.04:LTS",
    "cves": [
        {
            "id": "CVE-2021-32749",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5232-1.json"

Ubuntu:Pro:20.04:LTS / fail2ban

Package

Name
fail2ban
Purl
pkg:deb/ubuntu/fail2ban?arch=source&distro=esm-apps%2Ffocal

Affected ranges

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

Affected versions

0.*
0.10.2-2.1
0.11.1-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "fail2ban",
            "binary_version": "0.11.1-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

cves_map
{
    "ecosystem": "Ubuntu:Pro:20.04:LTS",
    "cves": [
        {
            "id": "CVE-2021-32749",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5232-1.json"