{"answers":{"affected":"7 open source packages ship an affected version, including Microsoft.AspNetCore.Authentication.JwtBearer and aspnet-core. It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-34532 in the wild and no public exploit code.","fix":"Upgrade Microsoft.AspNetCore.Authentication.JwtBearer to a fixed version for your release line: 2.1.29, 3.1.18 or 5.0.9.","what":"CVE-2021-34532 is a medium-severity vulnerability in Microsoft Visual Studio 2019, published on 12 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-34532 and fix it if it is affected.\n\nWhat it is: CVE-2021-34532 is a medium-severity vulnerability in Microsoft Visual Studio 2019, published on 12 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-34532 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.AspNetCore.Authentication.JwtBearer (NuGet): affected from 2.1.0; fixed in 2.1.29\n- Microsoft.AspNetCore.Authentication.JwtBearer (NuGet): affected from 2.1.0; fixed in 2.1.29\n- Microsoft.AspNetCore.Authentication.JwtBearer (NuGet): affected from 3.0.0; fixed in 3.1.18\n- Microsoft.AspNetCore.Authentication.JwtBearer (NuGet): affected from 3.0.0; fixed in 3.1.18\n- Microsoft.AspNetCore.Authentication.JwtBearer (NuGet): affected from 5.0.0; fixed in 5.0.9\n- Microsoft.AspNetCore.Authentication.JwtBearer (NuGet): affected from 5.0.0; fixed in 5.0.9\n- aspnet-core (Bitnami): affected from 2.1.0; fixed in 2.1.3, 3.1.18, 5.0.9\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-2021-34532/ (Markdown: https://insights.sbomify.com/CVE-2021-34532/index.md)","id":"CVE-2021-34532","markdown":"https://insights.sbomify.com/CVE-2021-34532/index.md","name":"CVE-2021-34532","record":{"aliases":["BIT-aspnet-core-2021-34532","GHSA-q7cg-43mg-qp69"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ASP.NET Core framework","requires_auth":"low_privilege","summary":"An information disclosure vulnerability in ASP.NET Core and Visual Studio allows attackers to read sensitive data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"asp.net_core","vendor":"microsoft"},{"product":"visual_studio_2019","vendor":"microsoft"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C","version":"3.1"},"cwes":[],"description":"ASP.NET Core and Visual Studio Information Disclosure Vulnerability","ecosystems":["Bitnami","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":"ASP.NET Core and Visual Studio Information Disclosure Vulnerability","id":"CVE-2021-34532","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:visual_studio_2019","products":["microsoft:visual_studio_2019"],"type":"information_disclosure","year":"2021"},"n_packages":7,"n_references":1,"next":{"headline":"Windows Graphics Component Font Parsing Remote Code Execution Vulnerability","id":"CVE-2021-34533"},"packages":[{"ecosystem":"Bitnami","fixed":["2.1.3","3.1.18","5.0.9"],"introduced":["2.1.0","3.1.0","5.0.0"],"last_affected":[],"package":"aspnet-core","purl":"pkg:bitnami/aspnet-core","source":"BIT-aspnet-core-2021-34532"},{"ecosystem":"NuGet","fixed":["2.1.29"],"introduced":["2.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Authentication.JwtBearer","purl":null,"source":"GHSA-q7cg-43mg-qp69"},{"ecosystem":"NuGet","fixed":["2.1.29"],"introduced":["2.1.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Authentication.JwtBearer","purl":"pkg:nuget/Microsoft.AspNetCore.Authentication.JwtBearer","source":"GHSA-q7cg-43mg-qp69"},{"ecosystem":"NuGet","fixed":["3.1.18"],"introduced":["3.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Authentication.JwtBearer","purl":null,"source":"GHSA-q7cg-43mg-qp69"},{"ecosystem":"NuGet","fixed":["3.1.18"],"introduced":["3.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Authentication.JwtBearer","purl":"pkg:nuget/Microsoft.AspNetCore.Authentication.JwtBearer","source":"GHSA-q7cg-43mg-qp69"},{"ecosystem":"NuGet","fixed":["5.0.9"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Authentication.JwtBearer","purl":null,"source":"GHSA-q7cg-43mg-qp69"},{"ecosystem":"NuGet","fixed":["5.0.9"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.AspNetCore.Authentication.JwtBearer","purl":"pkg:nuget/Microsoft.AspNetCore.Authentication.JwtBearer","source":"GHSA-q7cg-43mg-qp69"}],"prev":{"headline":"Windows Graphics Component Remote Code Execution Vulnerability","id":"CVE-2021-34530"},"products":["ASP.NET Core 2.1","ASP.NET Core 3.1","ASP.NET Core 5.0","Microsoft Visual Studio 2019 version 16.10 (includes 16.0 - 16.9)","Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3)","Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)","Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)","Visual Studio 2019 for Mac version 8.10"],"published":"2021-08-12","related":[{"cvss_score":9.9,"headline":"ASP.NET Security Feature Bypass Vulnerability","id":"CVE-2025-55315","kev_date_added":null,"published":"2025-10-14"},{"cvss_score":9.4,"headline":"ASP.NET Core Tampering Vulnerability","id":"CVE-2026-88092","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":9.1,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-40372","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.8,"headline":"ASP.NET Core and Visual Studio Elevation of Privilege Vulnerability","id":"CVE-2021-43877","kev_date_added":null,"published":"2021-12-15"},{"cvss_score":8.8,"headline":"Remote code execution in ASP.NET Core","id":"CVE-2020-0603","kev_date_added":null,"published":"2020-01-14"},{"cvss_score":8.8,"headline":"Elevation of privilege in ASP.NET Core","id":"CVE-2019-1302","kev_date_added":null,"published":"2019-09-11"},{"cvss_score":8.8,"headline":"ASP.NET Core allow an elevation of privilege","id":"CVE-2018-0787","kev_date_added":null,"published":"2018-03-14"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"2026-08-10","vendors":["Microsoft"]},"summary":"An information disclosure vulnerability in ASP.NET Core and Visual Studio allows attackers to read sensitive data.","url":"https://insights.sbomify.com/CVE-2021-34532/"}