CVE-2022-22707

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-22707
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-22707.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-22707
Related
Published
2022-01-06T06:15:07Z
Modified
2024-12-05T15:32:47.169640Z
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

Alpine:v3.13 / lighttpd

Package

Name
lighttpd
Purl
pkg:apk/alpine/lighttpd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.64-r0

Affected versions

1.*

1.4.20-r1
1.4.20-r2
1.4.22-r0
1.4.23-r0
1.4.23-r1
1.4.23-r2
1.4.24-r0
1.4.25-r0
1.4.25-r1
1.4.25-r2
1.4.26-r0
1.4.26-r1
1.4.26-r2
1.4.26-r3
1.4.26-r4
1.4.26-r5
1.4.27-r0
1.4.28-r0
1.4.28-r3
1.4.28-r4
1.4.28-r5
1.4.28-r6
1.4.28-r7
1.4.29-r0
1.4.29-r1
1.4.29-r2
1.4.30-r0
1.4.30-r1
1.4.30-r2
1.4.30-r3
1.4.31-r0
1.4.32-r0
1.4.32-r1
1.4.33-r1
1.4.33-r2
1.4.33-r3
1.4.34-r0
1.4.34-r1
1.4.35-r0
1.4.35-r1
1.4.35-r2
1.4.35-r3
1.4.35-r4
1.4.36-r0
1.4.37-r0
1.4.38-r0
1.4.39-r0
1.4.39-r1
1.4.39-r2
1.4.39-r3
1.4.39-r4
1.4.40-r0
1.4.40-r1
1.4.42-r0
1.4.43-r0
1.4.44-r0
1.4.45-r0
1.4.45-r1
1.4.47-r0
1.4.47-r1
1.4.48-r0
1.4.48-r1
1.4.49-r0
1.4.49-r1
1.4.50-r0
1.4.50-r1
1.4.52-r0
1.4.53-r0
1.4.53-r1
1.4.54-r0
1.4.54-r1
1.4.55-r0
1.4.55-r1
1.4.56-r0
1.4.57-r0
1.4.59-r0

Alpine:v3.14 / lighttpd

Package

Name
lighttpd
Purl
pkg:apk/alpine/lighttpd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.64-r0

Affected versions

1.*

1.4.20-r1
1.4.20-r2
1.4.22-r0
1.4.23-r0
1.4.23-r1
1.4.23-r2
1.4.24-r0
1.4.25-r0
1.4.25-r1
1.4.25-r2
1.4.26-r0
1.4.26-r1
1.4.26-r2
1.4.26-r3
1.4.26-r4
1.4.26-r5
1.4.27-r0
1.4.28-r0
1.4.28-r3
1.4.28-r4
1.4.28-r5
1.4.28-r6
1.4.28-r7
1.4.29-r0
1.4.29-r1
1.4.29-r2
1.4.30-r0
1.4.30-r1
1.4.30-r2
1.4.30-r3
1.4.31-r0
1.4.32-r0
1.4.32-r1
1.4.33-r1
1.4.33-r2
1.4.33-r3
1.4.34-r0
1.4.34-r1
1.4.35-r0
1.4.35-r1
1.4.35-r2
1.4.35-r3
1.4.35-r4
1.4.36-r0
1.4.37-r0
1.4.38-r0
1.4.39-r0
1.4.39-r1
1.4.39-r2
1.4.39-r3
1.4.39-r4
1.4.40-r0
1.4.40-r1
1.4.42-r0
1.4.43-r0
1.4.44-r0
1.4.45-r0
1.4.45-r1
1.4.47-r0
1.4.47-r1
1.4.48-r0
1.4.48-r1
1.4.49-r0
1.4.49-r1
1.4.50-r0
1.4.50-r1
1.4.52-r0
1.4.53-r0
1.4.53-r1
1.4.54-r0
1.4.54-r1
1.4.55-r0
1.4.55-r1
1.4.56-r0
1.4.57-r0
1.4.59-r0

Alpine:v3.15 / lighttpd

Package

Name
lighttpd
Purl
pkg:apk/alpine/lighttpd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.64-r0

Affected versions

1.*

1.4.20-r1
1.4.20-r2
1.4.22-r0
1.4.23-r0
1.4.23-r1
1.4.23-r2
1.4.24-r0
1.4.25-r0
1.4.25-r1
1.4.25-r2
1.4.26-r0
1.4.26-r1
1.4.26-r2
1.4.26-r3
1.4.26-r4
1.4.26-r5
1.4.27-r0
1.4.28-r0
1.4.28-r3
1.4.28-r4
1.4.28-r5
1.4.28-r6
1.4.28-r7
1.4.29-r0
1.4.29-r1
1.4.29-r2
1.4.30-r0
1.4.30-r1
1.4.30-r2
1.4.30-r3
1.4.31-r0
1.4.32-r0
1.4.32-r1
1.4.33-r1
1.4.33-r2
1.4.33-r3
1.4.34-r0
1.4.34-r1
1.4.35-r0
1.4.35-r1
1.4.35-r2
1.4.35-r3
1.4.35-r4
1.4.36-r0
1.4.37-r0
1.4.38-r0
1.4.39-r0
1.4.39-r1
1.4.39-r2
1.4.39-r3
1.4.39-r4
1.4.40-r0
1.4.40-r1
1.4.42-r0
1.4.43-r0
1.4.44-r0
1.4.45-r0
1.4.45-r1
1.4.47-r0
1.4.47-r1
1.4.48-r0
1.4.48-r1
1.4.49-r0
1.4.49-r1
1.4.50-r0
1.4.50-r1
1.4.52-r0
1.4.53-r0
1.4.53-r1
1.4.54-r0
1.4.54-r1
1.4.55-r0
1.4.55-r1
1.4.56-r0
1.4.57-r0
1.4.59-r0
1.4.59-r1
1.4.59-r2
1.4.60-r0
1.4.61-r0
1.4.61-r1

Alpine:v3.16 / lighttpd

Package

Name
lighttpd
Purl
pkg:apk/alpine/lighttpd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.64-r0

Affected versions

1.*

1.4.20-r1
1.4.20-r2
1.4.22-r0
1.4.23-r0
1.4.23-r1
1.4.23-r2
1.4.24-r0
1.4.25-r0
1.4.25-r1
1.4.25-r2
1.4.26-r0
1.4.26-r1
1.4.26-r2
1.4.26-r3
1.4.26-r4
1.4.26-r5
1.4.27-r0
1.4.28-r0
1.4.28-r3
1.4.28-r4
1.4.28-r5
1.4.28-r6
1.4.28-r7
1.4.29-r0
1.4.29-r1
1.4.29-r2
1.4.30-r0
1.4.30-r1
1.4.30-r2
1.4.30-r3
1.4.31-r0
1.4.32-r0
1.4.32-r1
1.4.33-r1
1.4.33-r2
1.4.33-r3
1.4.34-r0
1.4.34-r1
1.4.35-r0
1.4.35-r1
1.4.35-r2
1.4.35-r3
1.4.35-r4
1.4.36-r0
1.4.37-r0
1.4.38-r0
1.4.39-r0
1.4.39-r1
1.4.39-r2
1.4.39-r3
1.4.39-r4
1.4.40-r0
1.4.40-r1
1.4.42-r0
1.4.43-r0
1.4.44-r0
1.4.45-r0
1.4.45-r1
1.4.47-r0
1.4.47-r1
1.4.48-r0
1.4.48-r1
1.4.49-r0
1.4.49-r1
1.4.50-r0
1.4.50-r1
1.4.52-r0
1.4.53-r0
1.4.53-r1
1.4.54-r0
1.4.54-r1
1.4.55-r0
1.4.55-r1
1.4.56-r0
1.4.57-r0
1.4.59-r0
1.4.59-r1
1.4.59-r2
1.4.60-r0
1.4.61-r0
1.4.61-r1
1.4.62-r0
1.4.63-r0

Alpine:v3.17 / lighttpd

Package

Name
lighttpd
Purl
pkg:apk/alpine/lighttpd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.64-r0

Affected versions

1.*

1.4.20-r1
1.4.20-r2
1.4.22-r0
1.4.23-r0
1.4.23-r1
1.4.23-r2
1.4.24-r0
1.4.25-r0
1.4.25-r1
1.4.25-r2
1.4.26-r0
1.4.26-r1
1.4.26-r2
1.4.26-r3
1.4.26-r4
1.4.26-r5
1.4.27-r0
1.4.28-r0
1.4.28-r3
1.4.28-r4
1.4.28-r5
1.4.28-r6
1.4.28-r7
1.4.29-r0
1.4.29-r1
1.4.29-r2
1.4.30-r0
1.4.30-r1
1.4.30-r2
1.4.30-r3
1.4.31-r0
1.4.32-r0
1.4.32-r1
1.4.33-r1
1.4.33-r2
1.4.33-r3
1.4.34-r0
1.4.34-r1
1.4.35-r0
1.4.35-r1
1.4.35-r2
1.4.35-r3
1.4.35-r4
1.4.36-r0
1.4.37-r0
1.4.38-r0
1.4.39-r0
1.4.39-r1
1.4.39-r2
1.4.39-r3
1.4.39-r4
1.4.40-r0
1.4.40-r1
1.4.42-r0
1.4.43-r0
1.4.44-r0
1.4.45-r0
1.4.45-r1
1.4.47-r0
1.4.47-r1
1.4.48-r0
1.4.48-r1
1.4.49-r0
1.4.49-r1
1.4.50-r0
1.4.50-r1
1.4.52-r0
1.4.53-r0
1.4.53-r1
1.4.54-r0
1.4.54-r1
1.4.55-r0
1.4.55-r1
1.4.56-r0
1.4.57-r0
1.4.59-r0
1.4.59-r1
1.4.59-r2
1.4.60-r0
1.4.61-r0
1.4.61-r1
1.4.62-r0
1.4.63-r0

Alpine:v3.18 / lighttpd

Package

Name
lighttpd
Purl
pkg:apk/alpine/lighttpd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.64-r0

Affected versions

1.*

1.4.20-r1
1.4.20-r2
1.4.22-r0
1.4.23-r0
1.4.23-r1
1.4.23-r2
1.4.24-r0
1.4.25-r0
1.4.25-r1
1.4.25-r2
1.4.26-r0
1.4.26-r1
1.4.26-r2
1.4.26-r3
1.4.26-r4
1.4.26-r5
1.4.27-r0
1.4.28-r0
1.4.28-r3
1.4.28-r4
1.4.28-r5
1.4.28-r6
1.4.28-r7
1.4.29-r0
1.4.29-r1
1.4.29-r2
1.4.30-r0
1.4.30-r1
1.4.30-r2
1.4.30-r3
1.4.31-r0
1.4.32-r0
1.4.32-r1
1.4.33-r1
1.4.33-r2
1.4.33-r3
1.4.34-r0
1.4.34-r1
1.4.35-r0
1.4.35-r1
1.4.35-r2
1.4.35-r3
1.4.35-r4
1.4.36-r0
1.4.37-r0
1.4.38-r0
1.4.39-r0
1.4.39-r1
1.4.39-r2
1.4.39-r3
1.4.39-r4
1.4.40-r0
1.4.40-r1
1.4.42-r0
1.4.43-r0
1.4.44-r0
1.4.45-r0
1.4.45-r1
1.4.47-r0
1.4.47-r1
1.4.48-r0
1.4.48-r1
1.4.49-r0
1.4.49-r1
1.4.50-r0
1.4.50-r1
1.4.52-r0
1.4.53-r0
1.4.53-r1
1.4.54-r0
1.4.54-r1
1.4.55-r0
1.4.55-r1
1.4.56-r0
1.4.57-r0
1.4.59-r0
1.4.59-r1
1.4.59-r2
1.4.60-r0
1.4.61-r0
1.4.61-r1
1.4.62-r0
1.4.63-r0

Alpine:v3.19 / lighttpd

Package

Name
lighttpd
Purl
pkg:apk/alpine/lighttpd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.64-r0

Affected versions

1.*

1.4.20-r1
1.4.20-r2
1.4.22-r0
1.4.23-r0
1.4.23-r1
1.4.23-r2
1.4.24-r0
1.4.25-r0
1.4.25-r1
1.4.25-r2
1.4.26-r0
1.4.26-r1
1.4.26-r2
1.4.26-r3
1.4.26-r4
1.4.26-r5
1.4.27-r0
1.4.28-r0
1.4.28-r3
1.4.28-r4
1.4.28-r5
1.4.28-r6
1.4.28-r7
1.4.29-r0
1.4.29-r1
1.4.29-r2
1.4.30-r0
1.4.30-r1
1.4.30-r2
1.4.30-r3
1.4.31-r0
1.4.32-r0
1.4.32-r1
1.4.33-r1
1.4.33-r2
1.4.33-r3
1.4.34-r0
1.4.34-r1
1.4.35-r0
1.4.35-r1
1.4.35-r2
1.4.35-r3
1.4.35-r4
1.4.36-r0
1.4.37-r0
1.4.38-r0
1.4.39-r0
1.4.39-r1
1.4.39-r2
1.4.39-r3
1.4.39-r4
1.4.40-r0
1.4.40-r1
1.4.42-r0
1.4.43-r0
1.4.44-r0
1.4.45-r0
1.4.45-r1
1.4.47-r0
1.4.47-r1
1.4.48-r0
1.4.48-r1
1.4.49-r0
1.4.49-r1
1.4.50-r0
1.4.50-r1
1.4.52-r0
1.4.53-r0
1.4.53-r1
1.4.54-r0
1.4.54-r1
1.4.55-r0
1.4.55-r1
1.4.56-r0
1.4.57-r0
1.4.59-r0
1.4.59-r1
1.4.59-r2
1.4.60-r0
1.4.61-r0
1.4.61-r1
1.4.62-r0
1.4.63-r0

Alpine:v3.20 / lighttpd

Package

Name
lighttpd
Purl
pkg:apk/alpine/lighttpd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.64-r0

Affected versions

1.*

1.4.20-r1
1.4.20-r2
1.4.22-r0
1.4.23-r0
1.4.23-r1
1.4.23-r2
1.4.24-r0
1.4.25-r0
1.4.25-r1
1.4.25-r2
1.4.26-r0
1.4.26-r1
1.4.26-r2
1.4.26-r3
1.4.26-r4
1.4.26-r5
1.4.27-r0
1.4.28-r0
1.4.28-r3
1.4.28-r4
1.4.28-r5
1.4.28-r6
1.4.28-r7
1.4.29-r0
1.4.29-r1
1.4.29-r2
1.4.30-r0
1.4.30-r1
1.4.30-r2
1.4.30-r3
1.4.31-r0
1.4.32-r0
1.4.32-r1
1.4.33-r1
1.4.33-r2
1.4.33-r3
1.4.34-r0
1.4.34-r1
1.4.35-r0
1.4.35-r1
1.4.35-r2
1.4.35-r3
1.4.35-r4
1.4.36-r0
1.4.37-r0
1.4.38-r0
1.4.39-r0
1.4.39-r1
1.4.39-r2
1.4.39-r3
1.4.39-r4
1.4.40-r0
1.4.40-r1
1.4.42-r0
1.4.43-r0
1.4.44-r0
1.4.45-r0
1.4.45-r1
1.4.47-r0
1.4.47-r1
1.4.48-r0
1.4.48-r1
1.4.49-r0
1.4.49-r1
1.4.50-r0
1.4.50-r1
1.4.52-r0
1.4.53-r0
1.4.53-r1
1.4.54-r0
1.4.54-r1
1.4.55-r0
1.4.55-r1
1.4.56-r0
1.4.57-r0
1.4.59-r0
1.4.59-r1
1.4.59-r2
1.4.60-r0
1.4.61-r0
1.4.61-r1
1.4.62-r0
1.4.63-r0

Alpine:v3.21 / lighttpd

Package

Name
lighttpd
Purl
pkg:apk/alpine/lighttpd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.64-r0

Affected versions

1.*

1.4.20-r1
1.4.20-r2
1.4.22-r0
1.4.23-r0
1.4.23-r1
1.4.23-r2
1.4.24-r0
1.4.25-r0
1.4.25-r1
1.4.25-r2
1.4.26-r0
1.4.26-r1
1.4.26-r2
1.4.26-r3
1.4.26-r4
1.4.26-r5
1.4.27-r0
1.4.28-r0
1.4.28-r3
1.4.28-r4
1.4.28-r5
1.4.28-r6
1.4.28-r7
1.4.29-r0
1.4.29-r1
1.4.29-r2
1.4.30-r0
1.4.30-r1
1.4.30-r2
1.4.30-r3
1.4.31-r0
1.4.32-r0
1.4.32-r1
1.4.33-r1
1.4.33-r2
1.4.33-r3
1.4.34-r0
1.4.34-r1
1.4.35-r0
1.4.35-r1
1.4.35-r2
1.4.35-r3
1.4.35-r4
1.4.36-r0
1.4.37-r0
1.4.38-r0
1.4.39-r0
1.4.39-r1
1.4.39-r2
1.4.39-r3
1.4.39-r4
1.4.40-r0
1.4.40-r1
1.4.42-r0
1.4.43-r0
1.4.44-r0
1.4.45-r0
1.4.45-r1
1.4.47-r0
1.4.47-r1
1.4.48-r0
1.4.48-r1
1.4.49-r0
1.4.49-r1
1.4.50-r0
1.4.50-r1
1.4.52-r0
1.4.53-r0
1.4.53-r1
1.4.54-r0
1.4.54-r1
1.4.55-r0
1.4.55-r1
1.4.56-r0
1.4.57-r0
1.4.59-r0
1.4.59-r1
1.4.59-r2
1.4.60-r0
1.4.61-r0
1.4.61-r1
1.4.62-r0
1.4.63-r0

Debian:11 / lighttpd

Package

Name
lighttpd
Purl
pkg:deb/debian/lighttpd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.59-1+deb11u1

Affected versions

1.*

1.4.59-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / lighttpd

Package

Name
lighttpd
Purl
pkg:deb/debian/lighttpd?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / lighttpd

Package

Name
lighttpd
Purl
pkg:deb/debian/lighttpd?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/lighttpd/lighttpd1.4

Affected ranges

Type
GIT
Repo
https://github.com/lighttpd/lighttpd1.4
Events

Affected versions

lighttpd-1.*

lighttpd-1.4.46
lighttpd-1.4.47
lighttpd-1.4.48
lighttpd-1.4.49
lighttpd-1.4.50
lighttpd-1.4.51
lighttpd-1.4.52
lighttpd-1.4.53
lighttpd-1.4.54
lighttpd-1.4.55
lighttpd-1.4.56
lighttpd-1.4.56-rc1
lighttpd-1.4.56-rc2
lighttpd-1.4.56-rc3
lighttpd-1.4.56-rc4
lighttpd-1.4.56-rc5
lighttpd-1.4.56-rc6
lighttpd-1.4.56-rc7
lighttpd-1.4.57
lighttpd-1.4.58
lighttpd-1.4.59
lighttpd-1.4.60
lighttpd-1.4.61
lighttpd-1.4.62
lighttpd-1.4.63