mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:23:30 +03:00
ftp,imap,pop3,smtp: reject STARTTLS server response pipelining
If a server pipelines future responses within the STARTTLS response, the former are preserved in the pingpong cache across TLS negotiation and used as responses to the encrypted commands. This fix detects pipelined STARTTLS responses and rejects them with an error. CVE-2021-22947 Bug: https://curl.se/docs/CVE-2021-22947.html
This commit is contained in:
parent
364f174724
commit
8ef147c436
9 changed files with 236 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ test954 test955 test956 test957 test958 test959 test960 test961 test962 \
|
|||
test963 test964 test965 test966 test967 test968 test969 test970 test971 \
|
||||
test972 \
|
||||
\
|
||||
test984 test985 test986 \
|
||||
test980 test981 test982 test983 test984 test985 test986 \
|
||||
\
|
||||
test1000 test1001 test1002 test1003 test1004 test1005 test1006 test1007 \
|
||||
test1008 test1009 test1010 test1011 test1012 test1013 test1014 test1015 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue