{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1102 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-1102 is a high-severity path traversal vulnerability in Redhat Openshift, published on 30 Apr 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-1102 and fix it if it is affected.\n\nWhat it is: CVE-2018-1102 is a high-severity path traversal vulnerability in Redhat Openshift, published on 30 Apr 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-1102 in the wild and no public exploit code.\n\nAffected product: Redhat Openshift. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-1102/ (Markdown: https://insights.sbomify.com/CVE-2018-1102/index.md)","id":"CVE-2018-1102","markdown":"https://insights.sbomify.com/CVE-2018-1102/index.md","name":"CVE-2018-1102","record":{"aliases":["GHSA-x9m6-vq2v-79qg","RHSA-2018:1227","RHSA-2018:1229","RHSA-2018:1231","RHSA-2018:1233","RHSA-2018:1235","RHSA-2018:1237","RHSA-2018:1239","RHSA-2018:1241","RHSA-2018:1243","RHSA-2019:0036"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenShift Enterprise","requires_auth":"low_privilege","summary":"Improper path validation in OpenShift's source-to-image allows attackers to escalate privileges via malicious tar files.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openshift","vendor":"redhat"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A flaw was found in source-to-image function as shipped with Openshift Enterprise 3.x. An improper path validation of tar files in ExtractTarStreamFromTarReader in tar/tar.go leads to privilege escalation.","ecosystems":["Red Hat:openshift:3.1::el7","Red Hat:openshift:3.2::el7","Red Hat:openshift:3.3::el7","Red Hat:openshift:3.4::el7","Red Hat:openshift:3.5::el7","Red Hat:openshift:3.6::el7","Red Hat:openshift:3.7::el7","Red Hat:openshift:3.8::el7","Red Hat:openshift:3.9::el7","Red Hat:rhel_software_collections:3::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":"Path traversal in atomic-openshift","id":"CVE-2018-1102","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:openshift","products":["redhat:openshift"],"type":"path_traversal","year":"2018"},"n_packages":180,"n_references":11,"next":{"headline":"Openshift Enterprise source-to-image vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip)","id":"CVE-2018-1103"},"packages":[{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift","purl":"pkg:rpm/redhat/atomic-openshift","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients","purl":"pkg:rpm/redhat/atomic-openshift-clients","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients-redistributable","purl":"pkg:rpm/redhat/atomic-openshift-clients-redistributable","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-docker-excluder","purl":"pkg:rpm/redhat/atomic-openshift-docker-excluder","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-dockerregistry","purl":"pkg:rpm/redhat/atomic-openshift-dockerregistry","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-excluder","purl":"pkg:rpm/redhat/atomic-openshift-excluder","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-master","purl":"pkg:rpm/redhat/atomic-openshift-master","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-node","purl":"pkg:rpm/redhat/atomic-openshift-node","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-pod","purl":"pkg:rpm/redhat/atomic-openshift-pod","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-recycle","purl":"pkg:rpm/redhat/atomic-openshift-recycle","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-sdn-ovs","purl":"pkg:rpm/redhat/atomic-openshift-sdn-ovs","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.1::el7","fixed":["0:3.1.1.11-4.git.3.12809c8.el7"],"introduced":["0"],"last_affected":[],"package":"tuned-profiles-atomic-openshift-node","purl":"pkg:rpm/redhat/tuned-profiles-atomic-openshift-node","source":"RHSA-2018:1243"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift","purl":"pkg:rpm/redhat/atomic-openshift","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients","purl":"pkg:rpm/redhat/atomic-openshift-clients","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients-redistributable","purl":"pkg:rpm/redhat/atomic-openshift-clients-redistributable","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-docker-excluder","purl":"pkg:rpm/redhat/atomic-openshift-docker-excluder","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-dockerregistry","purl":"pkg:rpm/redhat/atomic-openshift-dockerregistry","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-excluder","purl":"pkg:rpm/redhat/atomic-openshift-excluder","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-master","purl":"pkg:rpm/redhat/atomic-openshift-master","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-node","purl":"pkg:rpm/redhat/atomic-openshift-node","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-pod","purl":"pkg:rpm/redhat/atomic-openshift-pod","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-recycle","purl":"pkg:rpm/redhat/atomic-openshift-recycle","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-sdn-ovs","purl":"pkg:rpm/redhat/atomic-openshift-sdn-ovs","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-tests","purl":"pkg:rpm/redhat/atomic-openshift-tests","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.2::el7","fixed":["0:3.2.1.34-2.git.3.aad33c3.el7"],"introduced":["0"],"last_affected":[],"package":"tuned-profiles-atomic-openshift-node","purl":"pkg:rpm/redhat/tuned-profiles-atomic-openshift-node","source":"RHSA-2018:1241"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift","purl":"pkg:rpm/redhat/atomic-openshift","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients","purl":"pkg:rpm/redhat/atomic-openshift-clients","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients-redistributable","purl":"pkg:rpm/redhat/atomic-openshift-clients-redistributable","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-docker-excluder","purl":"pkg:rpm/redhat/atomic-openshift-docker-excluder","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-dockerregistry","purl":"pkg:rpm/redhat/atomic-openshift-dockerregistry","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-excluder","purl":"pkg:rpm/redhat/atomic-openshift-excluder","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-master","purl":"pkg:rpm/redhat/atomic-openshift-master","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-node","purl":"pkg:rpm/redhat/atomic-openshift-node","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-pod","purl":"pkg:rpm/redhat/atomic-openshift-pod","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-sdn-ovs","purl":"pkg:rpm/redhat/atomic-openshift-sdn-ovs","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-tests","purl":"pkg:rpm/redhat/atomic-openshift-tests","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.3::el7","fixed":["0:3.3.1.46.39-2.git.3.cc57f5b.el7"],"introduced":["0"],"last_affected":[],"package":"tuned-profiles-atomic-openshift-node","purl":"pkg:rpm/redhat/tuned-profiles-atomic-openshift-node","source":"RHSA-2018:1239"},{"ecosystem":"Red Hat:openshift:3.4::el7","fixed":["0:3.4.1.44.53-1.git.0.d7eb028.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift","purl":"pkg:rpm/redhat/atomic-openshift","source":"RHSA-2018:1237"},{"ecosystem":"Red Hat:openshift:3.4::el7","fixed":["0:3.4.1.44.53-1.git.0.d7eb028.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients","purl":"pkg:rpm/redhat/atomic-openshift-clients","source":"RHSA-2018:1237"},{"ecosystem":"Red Hat:openshift:3.4::el7","fixed":["0:3.4.1.44.53-1.git.0.d7eb028.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients-redistributable","purl":"pkg:rpm/redhat/atomic-openshift-clients-redistributable","source":"RHSA-2018:1237"}],"prev":{"headline":"Privilege escalation in Ansible Tower","id":"CVE-2018-1101"},"products":["atomic-openshift"],"published":"2018-04-30","related":[{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2014-3496","kev_date_added":null,"published":"2014-06-20"},{"cvss_score":9.8,"headline":"Hardcoded credentials in Red Hat OpenShift Enterprise","id":"CVE-2014-0234","kev_date_added":null,"published":"2020-02-12"},{"cvss_score":9.8,"headline":"Command injection in OpenShift Origin","id":"CVE-2013-2060","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":9.1,"headline":"Path traversal in openshift-origin-msg-node-mcollective","id":"CVE-2013-4561","kev_date_added":null,"published":"2022-06-30"},{"cvss_score":8.8,"headline":"Command injection in Openshift","id":"CVE-2014-0163","kev_date_added":null,"published":"2019-12-11"},{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2016-2160","kev_date_added":null,"published":"2016-06-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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, Inc."]},"summary":"Improper path validation in OpenShift's source-to-image allows attackers to escalate privileges via malicious tar files.","url":"https://insights.sbomify.com/CVE-2018-1102/"}