{"answers":{"affected":"9 open source packages ship an affected version, including intel-tensorflow, intel-tensorflow-avx512 and tensorflow-intel. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-27506 in the wild and no public exploit code.","fix":"Upgrade intel-tensorflow to 2.12 or later.","what":"CVE-2023-27506 is a medium-severity vulnerability in Intel(R) Optimization for Tensorflow software, published on 11 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-27506 and fix it if it is affected.\n\nWhat it is: CVE-2023-27506 is a medium-severity vulnerability in Intel(R) Optimization for Tensorflow software, published on 11 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-27506 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- intel-tensorflow (PyPI): affected all versions; fixed in 2.12\n- intel-tensorflow (PyPI): affected all versions; fixed in 2.12\n- intel-tensorflow (PyPI): affected all versions; fixed in 2.12\n- intel-tensorflow-avx512 (PyPI): affected all versions; fixed in 2.12\n- intel-tensorflow-avx512 (PyPI): affected all versions; fixed in 2.12\n- intel-tensorflow-avx512 (PyPI): affected all versions; fixed in 2.12\n- tensorflow-intel (PyPI): affected all versions; fixed in 2.12\n- tensorflow-intel (PyPI): affected all versions; fixed in 2.12\n- tensorflow-intel (PyPI): affected all versions; fixed in 2.12\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-2023-27506/ (Markdown: https://insights.sbomify.com/CVE-2023-27506/index.md)","id":"CVE-2023-27506","markdown":"https://insights.sbomify.com/CVE-2023-27506/index.md","name":"CVE-2023-27506","record":{"aliases":["GHSA-m2f8-v8q4-3m59","PYSEC-2026-1465","PYSEC-2026-2523","PYSEC-2026-3385"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"TensorFlow optimization library","requires_auth":"low_privilege","summary":"An authenticated local attacker can escalate privileges due to improper buffer restrictions in the Intel Optimization for TensorFlow library.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"intel","cpe":[{"product":"optimization_for_tensorflow","vendor":"intel"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"},{"id":"CWE-92","name":"DEPRECATED: Improper Sanitization of Custom Special Characters"}],"description":"Improper buffer restrictions in the Intel(R) Optimization for Tensorflow software before version 2.12 may allow an authenticated user to potentially enable escalation of privilege via local access.","ecosystems":["PyPI"],"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":"Authenticated Local Privilege Escalation vulnerability in Intel Optimization for Tensorflow","id":"CVE-2023-27506","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"privilege_escalation","year":"2023"},"n_packages":9,"n_references":1,"next":{"headline":"Path traversal in MicroEngine Mailform","id":"CVE-2023-27507"},"packages":[{"ecosystem":"PyPI","fixed":["2.12"],"introduced":["0"],"last_affected":[],"package":"intel-tensorflow","purl":null,"source":"GHSA-m2f8-v8q4-3m59"},{"ecosystem":"PyPI","fixed":["2.12"],"introduced":["0"],"last_affected":[],"package":"intel-tensorflow","purl":"pkg:pypi/intel-tensorflow","source":"GHSA-m2f8-v8q4-3m59"},{"ecosystem":"PyPI","fixed":["2.12"],"introduced":["0"],"last_affected":[],"package":"intel-tensorflow","purl":"pkg:pypi/intel-tensorflow","source":"PYSEC-2026-2523"},{"ecosystem":"PyPI","fixed":["2.12"],"introduced":["0"],"last_affected":[],"package":"intel-tensorflow-avx512","purl":null,"source":"GHSA-m2f8-v8q4-3m59"},{"ecosystem":"PyPI","fixed":["2.12"],"introduced":["0"],"last_affected":[],"package":"intel-tensorflow-avx512","purl":"pkg:pypi/intel-tensorflow-avx512","source":"GHSA-m2f8-v8q4-3m59"},{"ecosystem":"PyPI","fixed":["2.12"],"introduced":["0"],"last_affected":[],"package":"intel-tensorflow-avx512","purl":"pkg:pypi/intel-tensorflow-avx512","source":"PYSEC-2026-1465"},{"ecosystem":"PyPI","fixed":["2.12"],"introduced":["0"],"last_affected":[],"package":"tensorflow-intel","purl":null,"source":"GHSA-m2f8-v8q4-3m59"},{"ecosystem":"PyPI","fixed":["2.12"],"introduced":["0"],"last_affected":[],"package":"tensorflow-intel","purl":"pkg:pypi/tensorflow-intel","source":"GHSA-m2f8-v8q4-3m59"},{"ecosystem":"PyPI","fixed":["2.12"],"introduced":["0"],"last_affected":[],"package":"tensorflow-intel","purl":"pkg:pypi/tensorflow-intel","source":"PYSEC-2026-3385"}],"prev":{"headline":"Privilege escalation in Intel(R) Advanced Link Analyzer Standard Edition software installers","id":"CVE-2023-27505"},"products":["Intel(R) Optimization for Tensorflow software"],"published":"2023-08-11","related":[{"cvss_score":5.5,"headline":"Memory corruption in TensorFlow","id":"CVE-2023-30767","kev_date_added":null,"published":"2024-02-14"}],"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":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-02","vendors":["n/a"]},"summary":"An authenticated local attacker can escalate privileges due to improper buffer restrictions in the Intel Optimization for TensorFlow library.","url":"https://insights.sbomify.com/CVE-2023-27506/"}