CVE-2022-4066 json
davidmoreno onion Log response.c onion_response_flush allocation of resources
published 3y ago modified 4mo ago also EUVD-2022-51441
- cvss
- 3.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- onion_project onion 2022-09-05
- github.com/davidmoreno/onion@de8ea93 commit
- github.com/davidmoreno/onion#308 pull request
Is CVE-2022-4066 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.17% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/davidmoreno/onion/pull/308 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
Affected products
- davidmoreno onion
Classification
- Weakness
-
- CWE-404 Improper Resource Shutdown or Release
References
-
github.com
/davidmoreno/onion/pull/308
exploit, patch, third-party-advisory
-
github.com
/davidmoreno/onion/commit/de8ea938342b36c28024fd8393ebc27b8442a161
patch, third-party-advisory
-
vuldb.com
/?id.214028
third-party-advisory
Sources
- CVE List CVE-2022-4066
- NVD CVE-2022-4066
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Remove Firefox as affected product.