{"answers":{"affected":"2 open source packages ship an affected version, including microsoft.identitymodel.clients.activedirectory. It affects 2 products.","exploited":"There is no known exploitation of CVE-2019-1258 in the wild and no public exploit code.","fix":"Upgrade microsoft.identitymodel.clients.activedirectory to 5.2.0 or later.","what":"CVE-2019-1258 is a high-severity vulnerability in Microsoft ADAL.NET, published on 14 Aug 2019. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-1258 and fix it if it is affected.\n\nWhat it is: CVE-2019-1258 is a high-severity vulnerability in Microsoft ADAL.NET, published on 14 Aug 2019. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-1258 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- microsoft.identitymodel.clients.activedirectory (NuGet): affected from 5.0.0; fixed in 5.2.0\n- microsoft.identitymodel.clients.activedirectory (NuGet): affected from 5.0.0; fixed in 5.2.0\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-2019-1258/ (Markdown: https://insights.sbomify.com/CVE-2019-1258/index.md)","id":"CVE-2019-1258","markdown":"https://insights.sbomify.com/CVE-2019-1258/index.md","name":"CVE-2019-1258","record":{"aliases":["GHSA-xc6x-cq47-9chw"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Azure AD Authentication Library","requires_auth":"low_privilege","summary":"An authenticated attacker can exploit token caching flaws in Azure AD Authentication Library to perform actions as another user.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"active_directory_authentication_library","vendor":"microsoft"},{"product":"nuget","vendor":"microsoft"}],"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":[],"description":"An elevation of privilege vulnerability exists in Azure Active Directory Authentication Library On-Behalf-Of flow, in the way the library caches tokens. This vulnerability allows an authenticated attacker to perform actions in context of another user.\nThe authenticated attacker can exploit this vulneraiblity by accessing a service configured for On-Behalf-Of flow that assigns incorrect tokens.\nThis security update addresses the vulnerability by removing fallback cache look-up for On-Behalf-Of scenarios.","ecosystems":["NuGet"],"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":"Azure Active Directory Authentication Library Elevation of Privilege Vulnerability","id":"CVE-2019-1258","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"privilege_escalation","year":"2019"},"n_packages":2,"n_references":1,"next":{"headline":"Cross-site request forgery in Microsoft SharePoint Foundation","id":"CVE-2019-1259"},"packages":[{"ecosystem":"NuGet","fixed":["5.2.0"],"introduced":["5.0.0"],"last_affected":[],"package":"microsoft.identitymodel.clients.activedirectory","purl":null,"source":"GHSA-xc6x-cq47-9chw"},{"ecosystem":"NuGet","fixed":["5.2.0"],"introduced":["5.0.0"],"last_affected":[],"package":"microsoft.identitymodel.clients.activedirectory","purl":"pkg:nuget/microsoft.identitymodel.clients.activedirectory","source":"GHSA-xc6x-cq47-9chw"}],"prev":{"headline":"Code injection in Microsoft SharePoint Enterprise Server","id":"CVE-2019-1257"},"products":["ADAL.NET","Nuget 5.2.0"],"published":"2019-08-14","related":[],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Microsoft"]},"summary":"An authenticated attacker can exploit token caching flaws in Azure AD Authentication Library to perform actions as another user.","url":"https://insights.sbomify.com/CVE-2019-1258/"}