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

CiphertextHeaders does not validate version #113

Closed
mattsb42-aws opened this issue Jun 26, 2019 · 0 comments
Closed

CiphertextHeaders does not validate version #113

mattsb42-aws opened this issue Jun 26, 2019 · 0 comments
Labels

Comments

@mattsb42-aws
Copy link
Member

CiphertextHeaders.parseVersion does not validate the version value.

https://github.com/aws/aws-encryption-sdk-java/blob/master/src/main/java/com/amazonaws/encryptionsdk/model/CiphertextHeaders.java#L163-L183

It should throw an error on any value other than (hex) 01.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants