Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verify the mac even if the padding is 1 byte long #234

Merged
merged 1 commit into from
Mar 30, 2018

Conversation

tomato42
Copy link
Member

@tomato42 tomato42 commented Mar 27, 2018

off-by-one error on mac checking, if the padding is of
minimal length (a single 0x00 byte), the mac is not
checked and thus the return value (result) is never falsified

this fixes the issue


This change is Reviewable

off-by-one error on mac checking, if the padding is of
minimal length (a single 0x00 byte), the mac is not
checked and thus the return value is never falsified

this fixes the issue
@tomato42 tomato42 added the bug unintented behaviour in tlslite-ng code label Mar 27, 2018
@tomato42 tomato42 merged commit ec5c61f into master Mar 30, 2018
@tomato42 tomato42 deleted the 0-pad-ignore-mac-fix branch March 30, 2018 12:46
@carnil
Copy link

carnil commented Apr 14, 2018

This issue was assigned CVE-2018-1000159 according the DWF assignments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unintented behaviour in tlslite-ng code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants