CVE-2021-23428
Path traversal in elFinder.NetCore
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según GHSA (alta).
Descripción
This affects all versions of package elFinder.NetCore. The Path.Combine(...) method is used to create an absolute file path. Due to missing sanitation of the user input and a missing check of the generated path its possible to escape the Files directory via path traversal
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| nuget::GitHub Security Advisory NuGet | elFinder.NetCore, elfinder.netcore | sin corrección indicada |
Mostrar las 2 entradas de 1 fuente
| Fuente | Paquete | Corregido en |
|---|---|---|
| nuget::GitHub Security Advisory NuGet | elFinder.NetCore | sin corrección indicada |
| nuget::GitHub Security Advisory NuGet | elfinder.netcore | sin corrección indicada |
Referencias
- https://github.com/gordon-matt/elFinder.NetCore
- https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs#L387
- https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs%23L387
- https://nvd.nist.gov/vuln/detail/CVE-2021-23428
- https://snyk.io/vuln/SNYK-DOTNET-ELFINDERNETCORE-1313838