VDB
Sign up
HIGH7.1

GHSA-8jr4-6r33-phwm

Summarize contains a path traversal vulnerability

Quick fix

GHSA-8jr4-6r33-phwm — @steipete/summarize: upgrade to the fixed version with the command below.

npm install @steipete/summarize@0.15.0

Details

Summarize prior to 0.15.0 contains a path traversal vulnerability in the /v1/summarize daemon endpoint that allows authenticated callers to write files to arbitrary directories by supplying an absolute path or directory traversal sequence in the slidesDir request parameter. Attackers can exploit this to write slide_*.png and slides.json files to any writable directory and subsequently delete matching files at the specified location through repeat extraction.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@steipete/summarize
Introduced in: 0Fixed in: 0.15.0
Fixnpm install @steipete/summarize@0.15.0

References