---
title: Security Bulletin NR20-01
source: https://docs.newrelic.com/docs/security/new-relic-security/security-bulletins/security-bulletin-nr20-01
---

## Summary

A security update for the .NET agent corrects an issue where full SQL queries may be sent to the agent log.

**Release date:** January 16, 2020

**Vulnerability identifier:** NR20-01

**Priority:** Medium

## Affected software [#affected]

The following New Relic agent versions are affected:

| Name                                                                                                                                   | Affected version      | Remediated version |
| -------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------ |
| [.NET Core agent](https://docs.newrelic.com/docs/apm/agents/net-agent/configuration/net-agent-configuration/)                          | 5.16.71.0 - 8.21.34.0 | 8.23.107.0         |
| [.NET Framework agent](https://docs.newrelic.com/docs/agents/net-agent/getting-started/compatibility-requirements-net-framework-agent) | 5.16.71.0 - 8.21.34.0 | 6.25.0.0           |

## Vulnerability information [#vuln-info]

In order to generate explain plans, a copy of the SQL query is created and the query is reissued with a request for the execution plan. If the explain plan fails, the agent may log the full SQL statement which could include the parameter values.

### Mitigating factors [#factors]

The agent will only log this information when set to the `DEBUG` or `FINEST` logging levels.

## Workarounds

-   Ensure that logging level is not set to `DEBUG` or `FINEST`.
-   Disable capturing of explain plans.
-   Ensure that file location of log files is secured.
-   [Update to the latest New Relic .NET agent.](https://docs.newrelic.com/docs/agents/net-agent/installation/update-net-agent)

## Report security vulnerabilities to New Relic [#report]

New Relic is committed to the security of our customers and your data. If you believe you have found a security vulnerability in one of our products or websites, we welcome and greatly appreciate you reporting it to New Relic's coordinated disclosure program. For more information, see our documentation about [reporting security vulnerabilities](https://docs.newrelic.com/docs/security/new-relic-security/data-privacy/reporting-security-vulnerabilities).
