GHSA-cwh7-28vg-jmpr

Suggest an improvement
Source
https://github.com/advisories/GHSA-cwh7-28vg-jmpr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-cwh7-28vg-jmpr/GHSA-cwh7-28vg-jmpr.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-cwh7-28vg-jmpr
Aliases
Published
2022-12-30T12:30:25Z
Modified
2024-08-21T16:29:16.782926Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
pastebinit Path Traversal vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2022-12-30T11:15:00Z",
    "github_reviewed_at": "2023-01-03T12:28:42Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Go / github.com/jessfraz/pastebinit

Package

Name
github.com/jessfraz/pastebinit
View open source insights on deps.dev
Purl
pkg:golang/github.com/jessfraz/pastebinit

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.2.3