This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 957684f809eae92f5c0ff0fe57f967cbd357ab23 Author: Michael Niedermayer <[email protected]> AuthorDate: Wed Nov 11 19:38:10 2026 +0100 Commit: michaelni <[email protected]> CommitDate: Thu Nov 12 17:36:16 2026 +0000 avformat/httpauth: do not put CR or LF into the Digest header Fixes: CRLF injection Fixes: avx3Qkpk8ANg Fixes: digest_username_crlf_poc.py Fixes: proxy_digest_uri_crlf_poc.py CRLF injection Replicated through UnModified FFmpeg with a local TCP listener Found during triage of the security report iUFdqPjbigVZ (ZDI-CAN-35984) --- libavformat/httpauth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/httpauth.c b/libavformat/httpauth.c index 276054a98e..e9aeb95ec8 100644 --- a/libavformat/httpauth.c +++ b/libavformat/httpauth.c @@ -292,7 +292,8 @@ char *ff_http_auth_create_response(HTTPAuthState *state, const char *auth, if (!username) return NULL; - if ((password = strchr(username, ':'))) { + if ((password = strchr(username, ':')) && + !strpbrk(username, "\r\n") && !strpbrk(path, "\r\n")) { *password++ = 0; authstr = make_digest_auth(state, username, password, path, method); } -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
