Fenrir High Fixes#250
Conversation
wolfSSL-Fenrir-bot
left a comment
There was a problem hiding this comment.
Fenrir Automated Review — PR #250
Scan targets checked: wolfclu-bugs, wolfclu-src
No new issues found in the changed files. ✅
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Addresses two Fenrir findings by hardening certificate signing behavior and preventing integer overflow in SCGI request parsing.
Changes:
- Prevents potential integer overflow when validating SCGI
contentLengthagainst the remaining buffer space. - Avoids silent success when certificate signing cannot proceed due to an invalid/unsupported signing method.
- Adjusts CA key handling in
wolfCLU_CertSignSetCA, including freeing previous keys and handling unsupported key types.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/x509/clu_x509_sign.c | Tightens signing failure handling and updates CA key ownership/freeing behavior. |
| src/tools/clu_scgi.c | Fixes potential overflow in SCGI content-length bounds checking. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
880a0ba to
5bc8661
Compare
wolfSSL-Fenrir-bot
left a comment
There was a problem hiding this comment.
Fenrir Automated Review — PR #250
Scan targets checked: wolfclu-bugs, wolfclu-src
No new issues found in the changed files. ✅
removed fix in x509_sign.c due to upcomming mldsa implimentaion added test to make content len is caught added gaurd at top of function so we can be sure all checks will catch bad behavior
fc49d5a to
d1fc7e6
Compare
wolfSSL-Fenrir-bot
left a comment
There was a problem hiding this comment.
Fenrir Automated Review — PR #250
Scan targets checked: wolfclu-bugs, wolfclu-src
No new issues found in the changed files. ✅
F-4829 fixed possibility of overflow https://fenrir.wolfssl.com/finding/4829