{"schemaVersion":3,"id":"CVE-2022-22707","aliases":["ALPINE-CVE-2022-22707","MGASA-2022-0161","openSUSE-SU-2022:0024-1","UBUNTU-CVE-2022-22707","DEBIAN-CVE-2022-22707","DSA-5040-1","openSUSE-SU-2024:11764-1"],"status":"published","duplicateOf":null,"title":null,"description":"In lighttpd 1.4.46 through 1.4.63, the mod_extforward_Forwarded 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.","dates":{"published":"2022-01-06T05:55:30.000Z","modified":"2024-08-03T03:21:48.853Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.08929,"percentile":0.95206,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.08929},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.08929,"percentile":0.95206}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.08929,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.08929,"percentile":0.95206}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_358F5D79F7C18043","name":"Exploit Reference (redmine.lighttpd.net)","source":"reference","url":"https://redmine.lighttpd.net/issues/3134","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"lighttpd","name":"lighttpd","label":"lighttpd","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/lighttpd","purlType":"apk","versions":[{"text":"≥ 1.4.46, < 1.4.64-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.4.46, < 1.4.64-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"lighttpd","name":"lighttpd","label":"lighttpd","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/lighttpd","purlType":"deb","versions":[{"text":"< 1.4.53-4+deb10u2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.4.59-1+deb11u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.4.64-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.53-4+deb10u2 | < 1.4.59-1+deb11u1 | < 1.4.64-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"lighttpd","name":"lighttpd","label":"lighttpd","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/lighttpd","purlType":"deb","versions":[{"text":"< 1.4.55-1ubuntu1.20.04.2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.4.63-1ubuntu3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.55-1ubuntu1.20.04.2 | < 1.4.63-1ubuntu3.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0 | 11.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"lighttpd","product":"lighttpd","name":"lighttpd","label":"lighttpd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.4.46, ≤ 1.4.63","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.4.46, ≤ 1.4.63","eol":null,"hubHref":"/vendor/lighttpd/lighttpd"},{"vendor":"mageia","product":"lighttpd","name":"lighttpd","label":"lighttpd","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/lighttpd","purlType":"rpm","versions":[{"text":"< 1.4.59-1.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.59-1.1.mga8","eol":null,"hubHref":null},{"vendor":"opensuse","product":"lighttpd&distro=openSUSE Leap 15.3","name":"lighttpd","label":"lighttpd&distro=openSUSE Leap 15.3","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/lighttpd&distro=openSUSE Leap 15.3","purlType":"rpm","versions":[{"text":"< 1.4.64-bp153.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.64-bp153.2.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"lighttpd&distro=openSUSE Tumbleweed","name":"lighttpd","label":"lighttpd&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/lighttpd&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.4.64-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.64-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"lighttpd&distro=SUSE Package Hub 15 SP3","name":"lighttpd","label":"lighttpd&distro=SUSE Package Hub 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/lighttpd&distro=SUSE Package Hub 15 SP3","purlType":"rpm","versions":[{"text":"< 1.4.64-bp153.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.64-bp153.2.3.1","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://redmine.lighttpd.net/issues/3134","label":"redmine.lighttpd.net/issues/3134","hostname":"redmine.lighttpd.net","tags":["X Refsource MISC","REPORT","Exploit","Vendor Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5040","label":"www.debian.org/security/2022/dsa-5040","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-22707","label":"security.alpinelinux.org/vuln/CVE-2022-22707","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0161.html","label":"advisories.mageia.org/MGASA-2022-0161.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29877","label":"bugs.mageia.org/show_bug.cgi?id=29877","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/6P5G6MJW4Q5RKKPO7TS5CLAAEQ2QUYBE/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["WEB","Advisory"]},{"url":"https://bugzilla.suse.com/1146452","label":"bugzilla.suse.com/1146452","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1181400","label":"bugzilla.suse.com/1181400","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1194376","label":"bugzilla.suse.com/1194376","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2022-22707","label":"www.suse.com/security/cve/CVE-2022-22707","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-22707","label":"ubuntu.com/security/CVE-2022-22707","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5903-1","label":"ubuntu.com/security/notices/USN-5903-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-22707","label":"www.cve.org/CVERecord?id=CVE-2022-22707","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-22707","label":"security-tracker.debian.org/tracker/CVE-2022-22707","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-5903-1"],"duplicates":[],"related":["USN-5903-1"]},"timeline":[{"kind":"published","date":"2022-01-06T05:55:30.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T03:21:48.853Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T18:21:27.632Z","stale":false,"partial":false}}