{"id":"CVE-2017-9246","aliases":["EUVD-2022-2049","GHSA-2rvx-cvfc-mcp2"],"status":"published","title":"New Relic .NET Agent contains SQL Injection","description":"New Relic .NET Agent before 6.3.123.0 adds SQL injection flaws to safe applications via vectors involving failure to escape quotes during use of the Slow Queries feature, as demonstrated by a mishandled quote in a VALUES clause of an INSERT statement, after bypassing a SET SHOWPLAN_ALL ON protection mechanism.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01186,"percentile":0.68052,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2017-06-13T18:00:00Z","modified":"2026-06-17T01:27:44Z","fixes":[{"ecosystem":"NuGet","package":"NewRelic.Agent","fixed_in":["6.3.123.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"NuGet","package":"NewRelic.Agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.123.0"}]}]},{"source":"osv","ecosystem":"NuGet","package":"NewRelic.Agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.123.0"}]}]}],"products":[{"vendor":"newrelic","product":".net_agent"}],"references":[{"url":"https://blog.seanmcelroy.com/2017/05/26/sql-injection-with-new-relic-patched/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9246","tags":["advisory"]},{"url":"https://web.archive.org/web/20221202191459/https://blog.seanmcelroy.com/2017/05/26/sql-injection-with-new-relic-patched/"},{"url":"https://github.com/advisories/GHSA-2rvx-cvfc-mcp2"},{"url":"https://github.com/newrelic/newrelic-dotnet-agent","tags":["package"]},{"url":"https://web.archive.org/web/20221202191459/https://blog.seanmcelroy.com/2017/05/26/sql-injection-with-new-relic-patched","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-9246","description":"New Relic .NET Agent before 6.3.123.0 adds SQL injection flaws to safe applications via vectors involving failure to escape quotes during use of the Slow Queries feature, as demonstrated by a mishandled quote in a VALUES clause of an INSERT statement, after bypassing a SET SHOWPLAN_ALL ON protection mechanism.","status":"published","published":"2017-06-13T18:00:00Z","modified":"2024-08-05T17:02:43.903Z","updated_at":"2026-11-02T14:33:13.606903Z"}],"euvd":[{"id":"EUVD-2022-2049","description":"New Relic .NET Agent before 6.3.123.0 adds SQL injection flaws to safe applications via vectors involving failure to escape quotes during use of the Slow Queries feature, as demonstrated by a mishandled quote in a VALUES clause of an INSERT statement, after bypassing a SET SHOWPLAN_ALL ON protection mechanism.","status":"published","published":"2017-06-13T18:00:00Z","modified":"2024-08-05T17:02:43Z","updated_at":"2026-11-03T02:23:28.642509Z"}],"ghsa":[{"id":"GHSA-2rvx-cvfc-mcp2","title":"New Relic .NET Agent contains SQL Injection","description":"New Relic .NET Agent before 6.3.123.0 adds SQL injection flaws to safe applications via vectors involving failure to escape quotes during use of the Slow Queries feature, as demonstrated by a mishandled quote in a VALUES clause of an INSERT statement, after bypassing a SET SHOWPLAN_ALL ON protection mechanism.","status":"published","published":"2022-05-17T02:35:57Z","modified":"2023-10-24T13:01:06Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:37:09.438703Z"}],"nvd":[{"id":"CVE-2017-9246","description":"New Relic .NET Agent before 6.3.123.0 adds SQL injection flaws to safe applications via vectors involving failure to escape quotes during use of the Slow Queries feature, as demonstrated by a mishandled quote in a VALUES clause of an INSERT statement, after bypassing a SET SHOWPLAN_ALL ON protection mechanism.","status":"published","published":"2017-06-13T18:29:00.187Z","modified":"2026-06-17T01:27:44.6Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:03:50.782497Z"}],"osv":[{"id":"GHSA-2rvx-cvfc-mcp2","title":"New Relic .NET Agent contains SQL Injection","description":"New Relic .NET Agent before 6.3.123.0 adds SQL injection flaws to safe applications via vectors involving failure to escape quotes during use of the Slow Queries feature, as demonstrated by a mishandled quote in a VALUES clause of an INSERT statement, after bypassing a SET SHOWPLAN_ALL ON protection mechanism.","status":"published","published":"2022-05-17T02:35:57Z","modified":"2023-11-08T03:59:28.775696Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:34.700741Z"}]}}
