# CVE-2022-4066: davidmoreno onion Log response.c onion_response_flush allocation of resources

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-19T00:00:00.000Z
- Modified: 2026-06-17T05:19:53.650Z
- Weaknesses: CWE-404
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in davidmoreno onion. It has been rated as problematic. Affected by this issue is the function onion_response_flush of the file src/onion/response.c of the component Log Handler. The manipulation leads to allocation of resources. The name of the patch is de8ea938342b36c28024fd8393ebc27b8442a161. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-214028.

(As written by CVE List.)

## Affected

- davidmoreno onion: n/a
- mozilla firefox: no versions given
- onion_project onion: before 2022-09-05

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://github.com/davidmoreno/onion/pull/308> (exploit, patch, third-party-advisory)
- <https://github.com/davidmoreno/onion/commit/de8ea938342b36c28024fd8393ebc27b8442a161> (patch, third-party-advisory)
- <https://vuldb.com/?id.214028> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-4066](https://www.cve.org/CVERecord?id=CVE-2022-4066), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2022-4066](https://nvd.nist.gov/vuln/detail/CVE-2022-4066), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4066 · Whole record: https://cve.day/CVE-2022-4066.json · Rebuilt by cve.day 2026-11-25T22:58:16.696Z
