CURL-CVE-2022-27778

vendorUSosv

curl removes wrong file on error

Advisory ansehen veröffentlicht 2022-05-11Lizenz: per source

curl might remove the wrong file when `--no-clobber` is used together with `--remove-on-error`. The `--remove-on-error` option tells curl to remove the output file when it returns an error, and not leave a partial file behind. The `--no-clobber` option prevents curl from overwriting a file if it already exists, and instead appends a number to the name to create a new unused filename. If curl adds a number to not "clobber" the output and an error occurs during transfer, the remove on error logic would remove the *original* filename without the added number.

01

beschreibt (1)

Zugehörige CVEs.

IDSchweregrad ausnutzbar
CVE-2022-27778UShigh8.1—
A use of incorrectly resolved name vulnerability fixed in 7.83.1 might remove the wrong file when `--no-clobber` is used together with `--remove-on-error`.
scry

Advisories wie diese benennen die exponierten Produkte, die Angreifer auf Ihrer Angriffsfläche ins Visier nehmen. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.

Kostenloser Scan