Commit 42ae271
committed
🛡️ Sentinel: [MEDIUM] Fix log injection via HTTPStatusError (salvages #835)
Severity: MEDIUM
Vulnerability: Unsanitized exception string from httpx.HTTPStatusError
is embedded into a new exception message, potentially leaking sensitive URLs.
Fix: Passed original_msg through sanitize_for_log() prior to raising
httpx.HTTPStatusError, ensuring defense-in-depth against log leakage.
Refs: #835 (salvage source)1 parent d0a520b commit 42ae271
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1978 | 1978 | | |
1979 | 1979 | | |
1980 | 1980 | | |
1981 | | - | |
| 1981 | + | |
1982 | 1982 | | |
1983 | 1983 | | |
1984 | 1984 | | |
| |||
0 commit comments