Skip to content

Fix theoretical integer overflow in Curl_auth_create_plain_message - #5391

Closed
MajorTomSec wants to merge 1 commit into
curl:masterfrom
MajorTomSec:master
Closed

Fix theoretical integer overflow in Curl_auth_create_plain_message#5391
MajorTomSec wants to merge 1 commit into
curl:masterfrom
MajorTomSec:master

Conversation

@MajorTomSec

Copy link
Copy Markdown
Contributor

This PR fixes an incorrect integer overflow check in Curl_auth_create_plain_message.

The security impact of the potential integer overflow has been discussed with @bagder on hackerone. We agreed this is more of a theoretical vulnerability, as the integer overflow would only be triggerable on systems using 32-bits size_t and have over 4GB of available memory space.

We still thought this was worth fixing.

Fix theoretical integer overflow in Curl_auth_create_plain_message.
@bagder bagder closed this in 8e76219 May 14, 2020
@bagder

bagder commented May 14, 2020

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants