GitHub Advisoryadvisory · Go

GHSA-cwh7-28vg-jmpr pastebinit Path Traversal vulnerability

MEDIUM Published 2022-12-30 Modified 2023-01-10 Official page ↗
Aliases
CVE-2018-25059
Ecosystem
Go
Packages
github.com/jessfraz/pastebinit
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-22
Reviewed
2023-01-03

Affected packages

• Go github.com/jessfraz/pastebinit: < 0.2.3 → fixed in 0.2.3

Description

A vulnerability was found in pastebinit up to 0.2.2 and classified as problematic. Affected by this issue is the function pasteHandler of the file server.go. The manipulation of the argument `r.URL.Path` leads to path traversal. Upgrading to version 0.2.3 can address this issue. The name of the patch is 1af2facb6d95976c532b7f8f82747d454a092272. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-217040.

Related

Alias · CVE (1)

  • CVE-2018-25059 A vulnerability was found in pastebinit up to 0.2.2 and classified as problematic. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References