Skip to content

Commit ec588d9

Browse files
authored
Add transitive guidance (#3336)
* Add transitive guidance * Update Auditing-Packages.md
1 parent c77daee commit ec588d9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/concepts/Auditing-Packages.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,15 @@ If security vulnerabilities are found and updates are available for the package,
125125
- Use the NuGet package manager user interface in Visual Studio to update the individual package.
126126
- Run the `dotnet add package` command with the respective package ID to update to the latest version.
127127

128+
#### Transitive Packages
129+
130+
If a known vulnerability exists in a top-level package's transitive dependencies, you have these options:
131+
132+
- Add the fixed package version as a direct package reference. **Note:** Be sure to remove this reference when a new package version update becomes available and be sure to maintain the defined attributes for the expected behavior.
133+
- Use [Central Package Management with the transitive pinning functionality](https://learn.microsoft.com/nuget/consume-packages/Central-Package-Management#transitive-pinning).
134+
- [Suppress the advisory](https://learn.microsoft.com/nuget/concepts/auditing-packages#excluding-advisories) until it can be addressed.
135+
- File an issue in the top-level package's tracker to request an update.
136+
128137
### Security vulnerabilities found with no updates
129138

130139
In the case that a known vulnerability exists in a package without a security fix, you can do the following.

0 commit comments

Comments
 (0)