Skip to content

Add final null-byte to tokens#3

Merged
hoytech merged 1 commit into
hoytech:masterfrom
Leont:null-byte
Jan 9, 2024
Merged

Add final null-byte to tokens#3
hoytech merged 1 commit into
hoytech:masterfrom
Leont:null-byte

Conversation

@Leont
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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.

@stigtsp
Copy link
Copy Markdown

stigtsp commented Dec 10, 2024

@hoytech Hi! Is it possible to do a release including this fix?

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.

3 participants