CVE-2018-14632 json
JSON-Patch Out-of-bounds Write vulnerability
published 2018-09-06 8 y ago modified 2026-06-17 4 mo ago also GHSA-gxhv-3hwf-wjp9 , GO-2021-0076 , EUVD-2022-4032
- cvss
- 7.7
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/evanphx/json-patch 0.5.2, 3.0.1-0.20180525145409-4c9aadca8f89, 3.0.1-0.20180525145409-4c9aadca8f89+incompatible
- atomic-openshift openshift 3.7 3.7.72-1.git.0.925b9cd.el7
- openshift-ansible openshift 3.7 3.7.72-1.git.0.5c45a8a.el7
- atomic-openshift-pod openshift 3.7 3.7.72-1.git.0.925b9cd.el7
- atomic-openshift-node openshift 3.7 3.7.72-1.git.0.925b9cd.el7
- atomic-openshift-tests openshift 3.7 3.7.72-1.git.0.925b9cd.el7
- atomic-openshift-utils openshift 3.7 3.7.72-1.git.0.5c45a8a.el7
- atomic-openshift-master openshift 3.7 3.7.72-1.git.0.925b9cd.el7
- openshift-ansible-roles openshift 3.7 3.7.72-1.git.0.5c45a8a.el7
red hat advisories RHSA-2018:2906RHSA-2018:2908RHSA-2018:2709RHSA-2018:2654RHBA-2018:2652
- github.com/evanphx/json-patch@4c9aadc commit
- github.com/evanphx/json-patch#57 pull request
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14632 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-14632 updated cvss 7.7
atomic-openshift: oc patch with json causes masterapi service crash
-
Red Hat OpenShift Container Platform 3.2 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +7 more Red Hat OpenShift Container Platform 3.3 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +6 more Red Hat OpenShift Container Platform 3.4 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +6 more Red Hat OpenShift Container Platform 3.5 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +6 more Red Hat OpenShift Enterprise 3.0 openshift, openshift-node, openshift-master, openshift-clients, openshift-sdn-ovs, tuned-profiles-openshift-nodeaffected: no fix available
-
Red Hat OpenShift Container Platform 3.6 atomic-openshift 3.6.173.0.130-1.git.0.8d78a39.el7, atomic-openshift-pod 3.6.173.0.130-1.git.0.8d78a39.el7, atomic-openshift-node 3.6.173.0.130-1.git.0.8d78a39.el7, atomic-openshift-tests 3.6.173.0.130-1.git.0.8d78a39.el7, atomic-openshift-master 3.6.173.0.130-1.git.0.8d78a39.el7, atomic-openshift-clients 3.6.173.0.130-1.git.0.8d78a39.el7, +9 morefixed: vendor fix RHSA-2018:2654
-
Red Hat OpenShift Container Platform 3.7 atomic-openshift 3.7.72-1.git.0.925b9cd.el7, atomic-openshift-pod 3.7.72-1.git.0.925b9cd.el7, atomic-openshift-node 3.7.72-1.git.0.925b9cd.el7, atomic-openshift-tests 3.7.72-1.git.0.925b9cd.el7, atomic-openshift-master 3.7.72-1.git.0.925b9cd.el7, atomic-openshift-clients 3.7.72-1.git.0.925b9cd.el7, +10 morefixed: vendor fix RHSA-2018:2906
-
Red Hat OpenShift Container Platform 3.9 atomic-openshift 3.9.51-1.git.0.dc3a40b.el7, atomic-openshift-pod 3.9.51-1.git.0.dc3a40b.el7, atomic-openshift-node 3.9.51-1.git.0.dc3a40b.el7, atomic-openshift-tests 3.9.51-1.git.0.dc3a40b.el7, atomic-openshift-master 3.9.51-1.git.0.dc3a40b.el7, atomic-openshift-clients 3.9.51-1.git.0.dc3a40b.el7, +8 morefixed: vendor fix RHSA-2018:2908
-
Red Hat OpenShift Container Platform 3.10 atomic-openshift 3.10.66-1.git.0.91d1e89.el7, atomic-openshift-pod 3.10.66-1.git.0.91d1e89.el7, atomic-openshift-node 3.10.66-1.git.0.91d1e89.el7, atomic-openshift-tests 3.10.66-1.git.0.91d1e89.el7, atomic-openshift-master 3.10.66-1.git.0.91d1e89.el7, atomic-openshift-clients 3.10.66-1.git.0.91d1e89.el7, +7 morefixed: vendor fix RHSA-2018:2709
-
Red Hat OpenShift Container Platform 3.11 atomic-openshift 3.11.16-1.git.0.b48b8f8.el7, atomic-openshift-pod 3.11.16-1.git.0.b48b8f8.el7, atomic-openshift-node 3.11.16-1.git.0.b48b8f8.el7, atomic-openshift-tests 3.11.16-1.git.0.b48b8f8.el7, atomic-openshift-master 3.11.16-1.git.0.b48b8f8.el7, atomic-openshift-clients 3.11.16-1.git.0.b48b8f8.el7, +7 morefixed: vendor fix RHBA-2018:2652
-
Red Hat OpenShift Container Platform 3.6 python-paramiko 2.1.1-4.el7, openshift-ansible 3.6.173.0.130-1.git.0.22ddff9.el7, atomic-openshift-utils 3.6.173.0.130-1.git.0.22ddff9.el7, openshift-ansible-roles 3.6.173.0.130-1.git.0.22ddff9.el7, openshift-ansible-playbooks 3.6.173.0.130-1.git.0.22ddff9.el7, openshift-ansible-filter-plugins 3.6.173.0.130-1.git.0.22ddff9.el7, +2 more Red Hat OpenShift Container Platform 3.7 openshift-ansible 3.7.72-1.git.0.5c45a8a.el7, atomic-openshift-utils 3.7.72-1.git.0.5c45a8a.el7, openshift-ansible-roles 3.7.72-1.git.0.5c45a8a.el7, openshift-ansible-playbooks 3.7.72-1.git.0.5c45a8a.el7, openshift-ansible-filter-plugins 3.7.72-1.git.0.5c45a8a.el7, openshift-ansible-lookup-plugins 3.7.72-1.git.0.5c45a8a.el7, +1 more Red Hat OpenShift Container Platform 3.9 fluentd 0.12.43-3.el7, openshift-ansible 3.9.51-1.git.0.c4968ca.el7, atomic-openshift-utils 3.9.51-1.git.0.c4968ca.el7, openshift-ansible-roles 3.9.51-1.git.0.c4968ca.el7, openshift-ansible-playbooks 3.9.51-1.git.0.c4968ca.el7, prometheus-node-exporter 3.9.51-1.git.1060.2055e02.el7, +5 more Red Hat OpenShift Container Platform 3.10 haproxy 1.8.14-2.el7, haproxy18 1.8.14-2.el7, python-py 1.4.32-2.el7, perl-IO-String 1.08-20.el7, rubygem-ffi 1.9.25-4.el7_5, image-inspector 2.4.0-3.el7, +14 more Red Hat OpenShift Container Platform 3.11 tini 0.16.1-1, apb 1.9.7-1.el7_5, cockpit 176-2.el7, fb303 0.9.1-15.el7, kibana 5.6.10-1.el7, thrift 0.9.1-15.el7, +173 more Red Hat OpenShift Container Platform 4 openshift, openshift-clients, openshift-kubelet, openshift-hyperkube, openshift-kube-apiserver, openshift-kube-scheduler, +2 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.23% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.7 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| NVD | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
| GitHub | 3.0 | 7.7 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/evanphx/json-patch | <0.5.2 >=3.0.0, <3.0.1-0.20180525145409-4c9aadca8f89 >=3.0.0+incompatible, <3.0.1-0.20180525145409-4c9aadca8f89+incompatible |
0.5.2 3.0.1-0.20180525145409-4c9aadca8f89 3.0.1-0.20180525145409-4c9aadca8f89+incompatible |
Affected products
- Red Hat atomic-openshift
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/evanphx/json-patch/commit/4c9aadca8f89e349c999f04e28199e96e81aba03#diff-65c563bba473be9d94ce4d033f74810e
web, patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-14632
web, issue-tracking, patch, vendor-advisory
-
github.com
/evanphx/json-patch/pull/57
web, patch
-
github.com
/evanphx/json-patch/commit/4c9aadca8f89e349c999f04e28199e96e81aba03
web, patch
-
access.redhat.com
/errata/RHBA-2018:2652
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2018:2654
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2018:2908
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2018:2906
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2018:2709
vendor-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2018-14632
advisory
-
github.com
/evanphx/json-patch
package
-
pkg.go.dev
/vuln/GO-2021-0076
web
Sources
- CVE List CVE-2018-14632
- GitHub Advisory GHSA-gxhv-3hwf-wjp9
- NVD CVE-2018-14632
- OSV GO-2021-0076
Fencer Vulns 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.