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

Add final null-byte to tokens #3

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Conversation

Leont
Copy link
Contributor

@Leont Leont commented Jan 9, 2024

Previously no null-byte was added to the string, which could cause trouble with interfaces that expect that to be present.

This was found when combined with Crypt::Bcrypt, but similar issues would exist with syscalls such as open.

Previously no null-byte was added to the string, which could cause
trouble with interfaces that expect that to be present.

This was found when combined with Crypt::Bcrypt, but similar issues
would exist with syscalls such as open.
@hoytech
Copy link
Owner

hoytech commented Jan 9, 2024

Thanks! I'll try to do a release soon, but I haven't done any PAUSE stuff in a while so I'll need to refresh my memory!

@hoytech hoytech merged commit 246f8b7 into hoytech:master Jan 9, 2024
@stigtsp
Copy link

stigtsp commented Mar 13, 2024

Thanks for fixing/merging.

I'm wondering if this could lead to info leak vulnerabilities, and if you're considering making the next release a security update?

@Leont
Copy link
Contributor Author

Leont commented Mar 13, 2024

I'm wondering if this could lead to info leak vulnerabilities

Probably not. This issue requires a fairly specific combination of circumstances to be triggered really.

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.

None yet

3 participants