{"answers":{"affected":"12 open source packages ship an affected version, including Microsoft.Data.SqlClient, dotnet and dotnet-sdk. It affects 6 products.","exploited":"There is no known exploitation of CVE-2024-0056 in the wild and no public exploit code.","fix":"Upgrade Microsoft.Data.SqlClient to a fixed version for your release line: 2.1.7, 3.1.5, 4.0.5 or 5.1.3.","what":"CVE-2024-0056 is a high-severity vulnerability in Microsoft .Net, published on 9 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-0056 and fix it if it is affected.\n\nWhat it is: CVE-2024-0056 is a high-severity vulnerability in Microsoft .Net, published on 9 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-0056 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.Data.SqlClient (NuGet): affected all versions; fixed in 2.1.7\n- Microsoft.Data.SqlClient (NuGet): affected all versions; fixed in 2.1.7\n- Microsoft.Data.SqlClient (NuGet): affected from 3.0.0; fixed in 3.1.5\n- Microsoft.Data.SqlClient (NuGet): affected from 3.0.0; fixed in 3.1.5\n- Microsoft.Data.SqlClient (NuGet): affected from 4.0.0; fixed in 4.0.5\n- Microsoft.Data.SqlClient (NuGet): affected from 4.0.0; fixed in 4.0.5\n- Microsoft.Data.SqlClient (NuGet): affected from 5.0.0; fixed in 5.1.3\n- Microsoft.Data.SqlClient (NuGet): affected from 5.0.0; fixed in 5.1.3\n- dotnet (Bitnami): affected from 6.0.0; fixed in 6.0.26, 7.0.15, 8.0.1\n- dotnet-sdk (Bitnami): affected from 6.0.0; fixed in 6.0.26, 7.0.15, 8.0.1\n- System.Data.SqlClient (NuGet): affected all versions; fixed in 4.8.6\n- System.Data.SqlClient (NuGet): affected all versions; fixed in 4.8.6\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-2024-0056/ (Markdown: https://insights.sbomify.com/CVE-2024-0056/index.md)","id":"CVE-2024-0056","markdown":"https://insights.sbomify.com/CVE-2024-0056/index.md","name":"CVE-2024-0056","record":{"aliases":["BIT-dotnet-2024-0056","BIT-dotnet-sdk-2024-0056","CLEANSTART-2025-ZI95026","GHSA-98g6-xh36-x2p7"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Microsoft .NET SQL Client","requires_auth":"none","summary":"Attackers can bypass security features in Microsoft.Data.SqlClient and System.Data.SqlClient, potentially exposing sensitive data or weakening encryption.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":".net","vendor":"microsoft"},{"product":".net_framework","vendor":"microsoft"},{"product":"microsoft.data.sqlclient","vendor":"microsoft"},{"product":"sql_server","vendor":"microsoft"},{"product":"system.data.sqlclient","vendor":"microsoft"},{"product":"visual_studio_2022","vendor":"microsoft"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"}],"description":"Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass 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":"Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability","id":"CVE-2024-0056","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:.net","products":["microsoft:.net","microsoft:.net_framework","microsoft:sql_server","microsoft:visual_studio_2022"],"type":"security_feature_bypass","year":"2024"},"n_packages":12,"n_references":1,"next":{"headline":"NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability","id":"CVE-2024-0057"},"packages":[{"ecosystem":"Bitnami","fixed":["6.0.26","7.0.15","8.0.1"],"introduced":["6.0.0","7.0.0","8.0.0"],"last_affected":[],"package":"dotnet","purl":"pkg:bitnami/dotnet","source":"BIT-dotnet-2024-0056"},{"ecosystem":"Bitnami","fixed":["6.0.26","7.0.15","8.0.1"],"introduced":["6.0.0","7.0.0","8.0.0"],"last_affected":[],"package":"dotnet-sdk","purl":"pkg:bitnami/dotnet-sdk","source":"BIT-dotnet-sdk-2024-0056"},{"ecosystem":"NuGet","fixed":["2.1.7"],"introduced":["0"],"last_affected":[],"package":"Microsoft.Data.SqlClient","purl":null,"source":"GHSA-98g6-xh36-x2p7"},{"ecosystem":"NuGet","fixed":["2.1.7"],"introduced":["0"],"last_affected":[],"package":"Microsoft.Data.SqlClient","purl":"pkg:nuget/Microsoft.Data.SqlClient","source":"GHSA-98g6-xh36-x2p7"},{"ecosystem":"NuGet","fixed":["3.1.5"],"introduced":["3.0.0"],"last_affected":[],"package":"Microsoft.Data.SqlClient","purl":null,"source":"GHSA-98g6-xh36-x2p7"},{"ecosystem":"NuGet","fixed":["3.1.5"],"introduced":["3.0.0"],"last_affected":[],"package":"Microsoft.Data.SqlClient","purl":"pkg:nuget/Microsoft.Data.SqlClient","source":"GHSA-98g6-xh36-x2p7"},{"ecosystem":"NuGet","fixed":["4.0.5"],"introduced":["4.0.0"],"last_affected":[],"package":"Microsoft.Data.SqlClient","purl":null,"source":"GHSA-98g6-xh36-x2p7"},{"ecosystem":"NuGet","fixed":["4.0.5"],"introduced":["4.0.0"],"last_affected":[],"package":"Microsoft.Data.SqlClient","purl":"pkg:nuget/Microsoft.Data.SqlClient","source":"GHSA-98g6-xh36-x2p7"},{"ecosystem":"NuGet","fixed":["5.1.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.Data.SqlClient","purl":null,"source":"GHSA-98g6-xh36-x2p7"},{"ecosystem":"NuGet","fixed":["5.1.3"],"introduced":["5.0.0"],"last_affected":[],"package":"Microsoft.Data.SqlClient","purl":"pkg:nuget/Microsoft.Data.SqlClient","source":"GHSA-98g6-xh36-x2p7"},{"ecosystem":"NuGet","fixed":["4.8.6"],"introduced":["0"],"last_affected":[],"package":"System.Data.SqlClient","purl":null,"source":"GHSA-98g6-xh36-x2p7"},{"ecosystem":"NuGet","fixed":["4.8.6"],"introduced":["0"],"last_affected":[],"package":"System.Data.SqlClient","purl":"pkg:nuget/System.Data.SqlClient","source":"GHSA-98g6-xh36-x2p7"}],"prev":{"headline":"Denial of service in AXIS OS","id":"CVE-2024-0055"},"products":[".NET 6.0",".NET 7.0",".NET 8.0","Microsoft .NET Framework 2.0 Service Pack 2","Microsoft .NET Framework 3.5 AND 4.7.2","Microsoft .NET Framework 3.5 AND 4.8","Microsoft .NET Framework 3.5 AND 4.8.1","Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2","Microsoft .NET Framework 4.8","Microsoft SQL Server 2022 (CU 10)","Microsoft SQL Server 2022 (GDR)","Microsoft Visual Studio 2022 version 17.2","Microsoft Visual Studio 2022 version 17.4","Microsoft Visual Studio 2022 version 17.6","Microsoft Visual Studio 2022 version 17.8","Microsoft.Data.SqlClient","System.Data.SqlClient"],"published":"2024-01-09","related":[{"cvss_score":9.8,"headline":".NET and Visual Studio Remote Code Execution Vulnerability","id":"CVE-2024-43498","kev_date_added":null,"published":"2024-11-12"},{"cvss_score":9.1,"headline":"NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability","id":"CVE-2024-0057","kev_date_added":null,"published":"2024-01-09"},{"cvss_score":8.8,"headline":".NET Security Feature Bypass Vulnerability","id":"CVE-2026-96957","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":8.8,"headline":".NET and Visual Studio Elevation of Privilege Vulnerability","id":"CVE-2026-69439","kev_date_added":null,"published":"2026-09-08"},{"cvss_score":8.8,"headline":".NET and Visual Studio Remote Code Execution Vulnerability","id":"CVE-2026-71328","kev_date_added":null,"published":"2026-09-08"},{"cvss_score":8.8,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-47300","kev_date_added":null,"published":"2026-07-14"},{"cvss_score":8.8,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-47303","kev_date_added":null,"published":"2026-07-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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-03","vendors":["Microsoft"]},"summary":"Attackers can bypass security features in Microsoft.Data.SqlClient and System.Data.SqlClient, potentially exposing sensitive data or weakening encryption.","url":"https://insights.sbomify.com/CVE-2024-0056/"}