UBUNTU-CVE-2022-22707

Source
https://ubuntu.com/security/CVE-2022-22707
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22707.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-22707
Related
Published
2022-01-06T06:15:00Z
Modified
2022-01-06T06:15:00Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In lighttpd 1.4.46 through 1.4.63, the modextforwardForwarded function of the mod_extforward plugin has a stack-based buffer overflow (4 bytes representing -1), as demonstrated by remote denial of service (daemon crash) in a non-default configuration. The non-default configuration requires handling of the Forwarded header in a somewhat unusual manner. Also, a 32-bit system is much more likely to be affected than a 64-bit system.

References

Affected packages

Ubuntu:20.04:LTS / lighttpd

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.55-1ubuntu1.20.04.2

Affected versions

1.*

1.4.53-4ubuntu2
1.4.54-2ubuntu1
1.4.55-1ubuntu1
1.4.55-1ubuntu1.20.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-dev"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-doc"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-authn-gssapi"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-authn-gssapi-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-authn-pam"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-authn-pam-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-authn-sasl"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-authn-sasl-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-cml"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-cml-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-geoip"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-geoip-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-magnet"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-magnet-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-maxminddb"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-maxminddb-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-trigger-b4-dl"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-trigger-b4-dl-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-vhostdb-dbi"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-vhostdb-dbi-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-vhostdb-pgsql"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-vhostdb-pgsql-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-webdav"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-mod-webdav-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-modules-ldap"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-modules-ldap-dbgsym"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-modules-mysql"
        },
        {
            "binary_version": "1.4.55-1ubuntu1.20.04.2",
            "binary_name": "lighttpd-modules-mysql-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / lighttpd

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.63-1ubuntu3.1

Affected versions

1.*

1.4.59-1ubuntu2
1.4.59-1ubuntu3
1.4.63-1ubuntu1
1.4.63-1ubuntu2
1.4.63-1ubuntu3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-doc"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-authn-gssapi"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-authn-gssapi-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-authn-pam"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-authn-pam-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-authn-sasl"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-authn-sasl-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-deflate"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-deflate-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-geoip"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-geoip-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-maxminddb"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-maxminddb-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-mbedtls"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-mbedtls-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-nss"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-nss-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-openssl"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-openssl-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-trigger-b4-dl"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-trigger-b4-dl-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-vhostdb-pgsql"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-vhostdb-pgsql-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-webdav"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-webdav-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-wolfssl"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-mod-wolfssl-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-modules-dbi"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-modules-dbi-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-modules-ldap"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-modules-ldap-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-modules-lua"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-modules-lua-dbgsym"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-modules-mysql"
        },
        {
            "binary_version": "1.4.63-1ubuntu3.1",
            "binary_name": "lighttpd-modules-mysql-dbgsym"
        }
    ]
}