{"answers":{"affected":"5 open source packages ship an affected version, including github.com/evanphx/json-patch. It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-14632 in the wild and no public exploit code.","fix":"Upgrade github.com/evanphx/json-patch to a fixed version for your release line: 0.5.2, 3.0.1-0.20180525145409-4c9aadca8f89+incompatible or 3.0.1-0.20180525145409-4c9aadca8f89.","what":"CVE-2018-14632 is a high-severity memory corruption vulnerability in Redhat Openshift Container Platform, published on 6 Sep 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-14632 and fix it if it is affected.\n\nWhat it is: CVE-2018-14632 is a high-severity memory corruption vulnerability in Redhat Openshift Container Platform, published on 6 Sep 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-14632 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/evanphx/json-patch (Go): affected all versions; fixed in 0.5.2, 3.0.1-0.20180525145409-4c9aadca8f89+incompatible\n- github.com/evanphx/json-patch (Go): affected all versions; fixed in 0.5.2\n- github.com/evanphx/json-patch (Go): affected all versions; fixed in 0.5.2\n- github.com/evanphx/json-patch (Go): affected from 3.0.0; fixed in 3.0.1-0.20180525145409-4c9aadca8f89\n- github.com/evanphx/json-patch (Go): affected from 3.0.0; fixed in 3.0.1-0.20180525145409-4c9aadca8f89\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-14632/ (Markdown: https://insights.sbomify.com/CVE-2018-14632/index.md)","id":"CVE-2018-14632","markdown":"https://insights.sbomify.com/CVE-2018-14632/index.md","name":"CVE-2018-14632","record":{"aliases":["GHSA-gxhv-3hwf-wjp9","GO-2021-0076","RHBA-2018:2652","RHSA-2018:2654","UBUNTU-CVE-2018-14632"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenShift Container Platform","requires_auth":"low_privilege","summary":"An out-of-bounds write in OpenShift's oc patch command allows attackers to cause a denial of service on the master API service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openshift_container_platform","vendor":"redhat"},{"product":"json-patch","vendor":"starcounter-jack"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"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.","ecosystems":["Go","Red Hat:openshift:3.11::el7","Red Hat:openshift:3.6::el7"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"JSON-Patch Out-of-bounds Write vulnerability","id":"CVE-2018-14632","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"redhat:openshift_container_platform","products":["redhat:openshift_container_platform"],"type":"memory_corruption","year":"2018"},"n_packages":33,"n_references":7,"next":{"headline":"Memory corruption in kernel","id":"CVE-2018-14633"},"packages":[{"ecosystem":"Go","fixed":["0.5.2","3.0.1-0.20180525145409-4c9aadca8f89+incompatible"],"introduced":["0","3.0.0+incompatible"],"last_affected":[],"package":"github.com/evanphx/json-patch","purl":"pkg:golang/github.com/evanphx/json-patch","source":"GO-2021-0076"},{"ecosystem":"Go","fixed":["0.5.2"],"introduced":["0"],"last_affected":[],"package":"github.com/evanphx/json-patch","purl":null,"source":"GHSA-gxhv-3hwf-wjp9"},{"ecosystem":"Go","fixed":["0.5.2"],"introduced":["0"],"last_affected":[],"package":"github.com/evanphx/json-patch","purl":"pkg:golang/github.com/evanphx/json-patch","source":"GHSA-gxhv-3hwf-wjp9"},{"ecosystem":"Go","fixed":["3.0.1-0.20180525145409-4c9aadca8f89"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/evanphx/json-patch","purl":null,"source":"GHSA-gxhv-3hwf-wjp9"},{"ecosystem":"Go","fixed":["3.0.1-0.20180525145409-4c9aadca8f89"],"introduced":["3.0.0"],"last_affected":[],"package":"github.com/evanphx/json-patch","purl":"pkg:golang/github.com/evanphx/json-patch","source":"GHSA-gxhv-3hwf-wjp9"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift","purl":"pkg:rpm/redhat/atomic-openshift","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients","purl":"pkg:rpm/redhat/atomic-openshift-clients","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients-redistributable","purl":"pkg:rpm/redhat/atomic-openshift-clients-redistributable","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-docker-excluder","purl":"pkg:rpm/redhat/atomic-openshift-docker-excluder","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-excluder","purl":"pkg:rpm/redhat/atomic-openshift-excluder","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-hyperkube","purl":"pkg:rpm/redhat/atomic-openshift-hyperkube","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-hypershift","purl":"pkg:rpm/redhat/atomic-openshift-hypershift","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-master","purl":"pkg:rpm/redhat/atomic-openshift-master","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-node","purl":"pkg:rpm/redhat/atomic-openshift-node","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-pod","purl":"pkg:rpm/redhat/atomic-openshift-pod","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-sdn-ovs","purl":"pkg:rpm/redhat/atomic-openshift-sdn-ovs","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-template-service-broker","purl":"pkg:rpm/redhat/atomic-openshift-template-service-broker","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.16-1.git.0.b48b8f8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-tests","purl":"pkg:rpm/redhat/atomic-openshift-tests","source":"RHBA-2018:2652"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift","purl":"pkg:rpm/redhat/atomic-openshift","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients","purl":"pkg:rpm/redhat/atomic-openshift-clients","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients-redistributable","purl":"pkg:rpm/redhat/atomic-openshift-clients-redistributable","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-cluster-capacity","purl":"pkg:rpm/redhat/atomic-openshift-cluster-capacity","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-docker-excluder","purl":"pkg:rpm/redhat/atomic-openshift-docker-excluder","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-dockerregistry","purl":"pkg:rpm/redhat/atomic-openshift-dockerregistry","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-excluder","purl":"pkg:rpm/redhat/atomic-openshift-excluder","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-federation-services","purl":"pkg:rpm/redhat/atomic-openshift-federation-services","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-master","purl":"pkg:rpm/redhat/atomic-openshift-master","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-node","purl":"pkg:rpm/redhat/atomic-openshift-node","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-pod","purl":"pkg:rpm/redhat/atomic-openshift-pod","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-sdn-ovs","purl":"pkg:rpm/redhat/atomic-openshift-sdn-ovs","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-service-catalog","purl":"pkg:rpm/redhat/atomic-openshift-service-catalog","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-tests","purl":"pkg:rpm/redhat/atomic-openshift-tests","source":"RHSA-2018:2654"},{"ecosystem":"Red Hat:openshift:3.6::el7","fixed":["0:3.6.173.0.130-1.git.0.8d78a39.el7"],"introduced":["0"],"last_affected":[],"package":"tuned-profiles-atomic-openshift-node","purl":"pkg:rpm/redhat/tuned-profiles-atomic-openshift-node","source":"RHSA-2018:2654"}],"prev":{"headline":"Moodle Cross-site Scripting","id":"CVE-2018-14631"},"products":["atomic-openshift"],"published":"2018-09-06","related":[{"cvss_score":9.8,"headline":"Missing authorization in cluster-ingress-operator","id":"CVE-2020-27836","kev_date_added":null,"published":"2022-08-22"},{"cvss_score":9,"headline":"Misconfiguration in openshift-ansible","id":"CVE-2018-1085","kev_date_added":null,"published":"2018-06-15"},{"cvss_score":8.8,"headline":"Privilege escalation in Red Hat OpenShift Container Platform 4","id":"CVE-2026-54099","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":8.8,"headline":"Ose-cluster-ingress-operator: remote code execution through haproxy configuration injection","id":"CVE-2026-1784","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":8.8,"headline":"Privilege escalation in openshift","id":"CVE-2021-20182","kev_date_added":null,"published":"2021-02-23"},{"cvss_score":8.8,"headline":"xterm vulnerable to remote code execution","id":"CVE-2019-0542","kev_date_added":null,"published":"2019-01-09"},{"cvss_score":8.5,"headline":"Privilege escalation in source-to-image","id":"CVE-2018-10843","kev_date_added":null,"published":"2018-07-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Red Hat"]},"summary":"An out-of-bounds write in OpenShift's oc patch command allows attackers to cause a denial of service on the master API service.","url":"https://insights.sbomify.com/CVE-2018-14632/"}