CVE-2018-14632
JSON-Patch Out-of-bounds Write vulnerability
Also known as GHSA-gxhv-3hwf-wjp9, GO-2021-0076
Mitigation
- Upgrade github.com/evanphx/json-patch to one of 0.5.2, 3.0.1-0.20180525145409-4c9aadca8f89, 3.0.1-0.20180525145409-4c9aadca8f89+incompatible (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/evanphx/json-patch (< 0.5.2)
- Anyone running Red Hat atomic-openshift atomic-openshift-3.7
Vulnerability facts
- Affected
- github.com/evanphx/json-patch < 0.5.2
- Fixed in
- 0.5.2, 3.0.1-0.20180525145409-4c9aadca8f89, 3.0.1-0.20180525145409-4c9aadca8f89+incompatible
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.7 (v3.0, CNA)CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 2.23% chance of exploitation in 30 days (percentile 83, 2026-11-26)
- CWE
- CWE-787
- Modified
Description
An out of bound write can occur when patching an Openshift object using the 'oc patch' functionality in OpenShift Container Platform before 3.7. An attacker can use this flaw to cause a denial of service attack on the Openshift master api service which provides cluster management.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/evanphx/json-patch | < 0.5.2 | 0.5.2, 3.0.1-0.20180525145409-4c9aadca8f89, 3.0.1-0.20180525145409-4c9aadca8f89+incompatible | osv |
| Red Hat atomic-openshift | atomic-openshift-3.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-14632. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-14632.md Affected: github.com/evanphx/json-patch < 0.5.2 Fixed in: 0.5.2, 3.0.1-0.20180525145409-4c9aadca8f89, 3.0.1-0.20180525145409-4c9aadca8f89+incompatible Steps: 1. Search this machine and project for github.com/evanphx/json-patch (Go), Red Hat atomic-openshift: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14632
- https://github.com/evanphx/json-patch/commit/4c9aadca8f89e349c999f04e28199e96e81aba03#diff-65c563bba473be9d94ce4d033f74810e
- https://github.com/evanphx/json-patch/pull/57
- https://github.com/evanphx/json-patch/commit/4c9aadca8f89e349c999f04e28199e96e81aba03
FAQ
Is CVE-2018-14632 being exploited?
There is no confirmed exploitation: CVE-2018-14632 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-14632?
High: CVSS 7.7 (v3.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2018-14632?
github.com/evanphx/json-patch < 0.5.2.
Is there a fix for CVE-2018-14632?
Yes. Fixed in 0.5.2, 3.0.1-0.20180525145409-4c9aadca8f89, 3.0.1-0.20180525145409-4c9aadca8f89+incompatible. Upgrade github.com/evanphx/json-patch to one of 0.5.2, 3.0.1-0.20180525145409-4c9aadca8f89, 3.0.1-0.20180525145409-4c9aadca8f89+incompatible (or later in the same release line).
How do I check if I'm affected by CVE-2018-14632?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.