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

[BUG] Change urlparse to use scheme='' instead of scheme=None #200

Closed
jonmasters opened this issue Jan 2, 2024 · 2 comments
Closed

[BUG] Change urlparse to use scheme='' instead of scheme=None #200

jonmasters opened this issue Jan 2, 2024 · 2 comments
Assignees
Labels
Milestone

Comments

@jonmasters
Copy link

There's a bug in the current beaker release when running on latest fully updated RHEL7. A security bugfix added to RHEL7 (which I think is actually broken because it changes behavior of existing code) adds a check for bad bytes in urlparse, causing it to now attempt to deference the url object as a string (though it might be None). The result is that distro imports are broken. The fix is to change distrotrees:add_distro_urls to use urlparse='' instead.

@jonmasters jonmasters added the bug label Jan 2, 2024
@StykMartin StykMartin self-assigned this Jan 2, 2024
@StykMartin
Copy link
Contributor

StykMartin commented Jan 2, 2024

Hello @jonmasters,

I'm aware of this issue - I completely agree that the bugfix is broken because it completely breaks the previous behavior.

Anyway, I have fixed it in c6e4ef5. We are about to release a new version of Beaker with this fix. We just finalizing a new release process.

--
For future Martin - backport CVE-2023-24329, rhbz#2173917

@StykMartin StykMartin added this to the 29.0 milestone Jan 2, 2024
@jonmasters
Copy link
Author

jonmasters commented Jan 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants