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

https_init: result from RAND_load_file is unchecked #277

Open
ngie-eign opened this issue Jun 6, 2024 · 0 comments
Open

https_init: result from RAND_load_file is unchecked #277

ngie-eign opened this issue Jun 6, 2024 · 0 comments

Comments

@ngie-eign
Copy link

In the event the PRNG hasn't been sufficiently seeded and $RANDFILE points to an invalid file (for instance), any failure that occurs on line 405 in https_init will be ignored.

The call should be checked to ensure that the PRNG is indeed properly seeded by duo_unix -- otherwise crypto guarantees could be invalidated by the weakness.

Reported by Coverity.

RAND_load_file(p, 8192);

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

No branches or pull requests

1 participant