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

Remove jent_read_entropy_safe usage from AWS-LC (main) #2110

Merged
merged 3 commits into from
Jan 15, 2025

Conversation

smittals2
Copy link
Contributor

@smittals2 smittals2 commented Jan 10, 2025

Issues:

P186365975

Description of changes:

These changes remove any usage of jent_read_entropy_safe function from AWS-LC. This function has an implementation vulnerability described here.

jent_read_entropy_safe is now unused in our codebase, however, it is still present in the Jitter code. These changes are outside the FIPS boundary and do not impact the FIPS integrity hash.

Call-outs:

Eventually, we should pull in the newest Jitter release with the security fix.

Testing:

How is this change tested (unit tests, fuzz tests, etc.)? Are there any testing steps to be verified by the reviewer?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@smittals2 smittals2 requested a review from a team as a code owner January 10, 2025 22:23
@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.94%. Comparing base (e34998e) to head (ee0edce).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2110      +/-   ##
==========================================
+ Coverage   78.75%   78.94%   +0.18%     
==========================================
  Files         598      610      +12     
  Lines      103656   105121    +1465     
  Branches    14720    14904     +184     
==========================================
+ Hits        81635    82983    +1348     
- Misses      21368    21487     +119     
+ Partials      653      651       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@smittals2 smittals2 requested a review from andrewhop January 13, 2025 22:17
andrewhop
andrewhop previously approved these changes Jan 13, 2025
skmcgrail
skmcgrail previously approved these changes Jan 13, 2025
@smittals2 smittals2 dismissed stale reviews from skmcgrail and andrewhop via ee0edce January 14, 2025 21:45
@smittals2 smittals2 changed the title Remove jent_read_entropy_safe from Jitter code (main) Remove jent_read_entropy_safe usage from AWS-LC (main) Jan 14, 2025
@smittals2 smittals2 merged commit 0f8e07e into aws:main Jan 15, 2025
125 of 126 checks passed
manastasova pushed a commit to manastasova/aws-lc that referenced this pull request Jan 30, 2025
### Issues:
`P186365975`

### Description of changes: 
These changes remove any usage of jent_read_entropy_safe function from
AWS-LC. This function has an implementation vulnerability described
[here](/~https://github.com/smuellerDD/jitterentropy-library/blob/c62c88645f27716f78e1267a182cff40e96081c2/SECURITY.md#2024-12-30).

jent_read_entropy_safe is now unused in our codebase, however, it is
still present in the Jitter code. These changes are outside the FIPS
boundary and do not impact the FIPS integrity hash.

### Call-outs:
Eventually, we should pull in the newest Jitter release with the
security fix.

### Testing:
How is this change tested (unit tests, fuzz tests, etc.)? Are there any
testing steps to be verified by the reviewer?

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and the ISC license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants