Summary: | kdenetwork-filesharing: AuthHelper does not sanitize command-line arguments | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdenetwork-filesharing | Reporter: | Wolfgang Frisch <wolfgang.frisch> |
Component: | general | Assignee: | Harald Sitter <sitter> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kfm-devel, nate, rdieter, sitter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/network/kdenetwork-filesharing/commit/19f000d8f9348f53e33a40a8723e9bbe09474be6 | Version Fixed In: | 20.12.3 |
Sentry Crash Report: |
Description
Wolfgang Frisch
2021-02-10 20:10:08 UTC
Thanks for the report. A possibly relevant merge request was started @ https://invent.kde.org/network/kdenetwork-filesharing/-/merge_requests/17 Git commit 19f000d8f9348f53e33a40a8723e9bbe09474be6 by Harald Sitter. Committed on 08/03/2021 at 10:36. Pushed by sitter into branch 'release/20.12'. run input user/group names through input validation to harden against abuse we'll match them against a regex that should only match what could possibly be a valid user or group name. thanks to Wolfgang Frisch and SUSE for the suggestion FIXED-IN: 20.12.3 M +12 -4 samba/filepropertiesplugin/authhelper.cpp https://invent.kde.org/network/kdenetwork-filesharing/commit/19f000d8f9348f53e33a40a8723e9bbe09474be6 |