CriticalGHSA-2rvx-cvfc-mcp2CVE-2017-9246

New Relic .NET Agent contains SQL Injection

Published 17 May 2022 · Updated 8 Nov 2023

Is your project on an affected NewRelic.Agent?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<6.3.123.0
Fixed in
6.3.123.0
Update to the fixed version for your release line, for example:dotnet add package NewRelic.Agent --version 6.3.123.0

Details

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.

Is GHSA-2rvx-cvfc-mcp2 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected NewRelic.Agent, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.