CVE-2022-25852
Last modified
CVE-2022-25852 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. All versions of package pg-native; all versions of package libpq are vulnerable to Denial of Service (DoS) when the addons attempt to cast the second argument to an array and fail. This happens for every non-array argument passed. EPSS estimates a 1.24% chance of exploitation in the next 30 days.
Description
All versions of package pg-native; all versions of package libpq are vulnerable to Denial of Service (DoS) when the addons attempt to cast the second argument to an array and fail. This happens for every non-array argument passed. **Note:** pg-native is a mere binding to npm's libpq library, which in turn has the addons and bindings to the actual C libpq library. This means that problems found in pg-native may transitively impact npm's libpq.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libpq Project | Libpq | All versions |
| Pg-Native Project | Pg-Native | All versions |
References
- https://snyk.io/vuln/SNYK-JS-LIBPQ-2392366Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-PGNATIVE-2392365Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-LIBPQ-2392366Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-PGNATIVE-2392365Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25852?
How severe is CVE-2022-25852?
How do I fix CVE-2022-25852?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-25847All versions of the package serve-lite are vulnerable to Cro…6.1
- CVE-2022-25848This affects all versions of package static-dev-server. This…7.5
- CVE-2022-25849The package joyqi/hyper-down from 0.0.0 are vulnerable to Cr…6.1
- CVE-2022-2585It was discovered that when exec'ing from a non-leader threa…7.8
- CVE-2022-25850The package github.com/hoppscotch/proxyscotch before 1.0.0 a…7.5
- CVE-2022-25851The package jpeg-js before 0.4.4 are vulnerable to Denial of…7.5
- CVE-2022-25853All versions of the package semver-tags are vulnerable to Co…7.8
- CVE-2022-25854This affects the package @yaireo/tagify before 4.9.8. The pa…5.4
- CVE-2022-25855All versions of the package create-choo-app3 are vulnerable …7.8
- CVE-2022-25856The package github.com/argoproj/argo-events/sensors/artifact…7.5
- CVE-2022-25857The package org.yaml:snakeyaml from 0 and before 1.31 are vu…7.5
- CVE-2022-25858The package terser before 4.8.1, from 5.0.0 and before 5.14.…7.5
Are you affected by CVE-2022-25852?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
