Advisory

GHSA-cwh7-28vg-jmpr

Also known as: CVE-2018-25059, GO-2022-1212

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-12-30 12:30 UTC
Modified
2024-08-21 16:28 UTC

Affected packages and fixes

github.com/jessfraz/pastebinit

Go · All systems

Affected

  • introduced 0, fixed 0.2.3 (semver)

Fixed versions

0.2.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences