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

[5.x]: web-auth/webauthn-lib 4.8.x has security advisory, conflicts with roave/security-advisories #15377

Closed
kbergha opened this issue Jul 18, 2024 · 1 comment
Assignees
Labels

Comments

@kbergha
Copy link

kbergha commented Jul 18, 2024

What happened?

Description

webauthn-lib 4.5.x to 4.8.x has a moderate security advisory:
GHSA-875x-g8p7-5w27

Craft 5.2.8 has web-auth/webauthn-lib ~4.8.0 as a dependency

Having roave/security-advisories with Roave/SecurityAdvisories@5f55b08 or newer now prevents updating Craft.
I've removed roave/security-advisories temporarily to complete my update locally.

Can you update webauthn-lib to 4.9.x?

Steps to reproduce

  1. Have roave/security-advisories with dev-latest in require-dev in composer.json.
  2. Using craft update or composer to update from 5.2.5 (or any previous 5.x version?) to 5.2.8

Expected behavior

Update completes without conflict.

Actual behavior

Error Output:
================
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1

    - craftcms/cms 5.2.8 requires web-auth/webauthn-lib ~4.8.0 -> satisfiable by web-auth/webauthn-lib[4.8.0, ..., 4.8.x-dev].
    - roave/security-advisories dev-latest conflicts with web-auth/webauthn-lib 4.8.7.
    - roave/security-advisories dev-latest conflicts with web-auth/webauthn-lib 4.8.6.
    - roave/security-advisories dev-latest conflicts with web-auth/webauthn-lib 4.8.5.
    - roave/security-advisories dev-latest conflicts with web-auth/webauthn-lib 4.8.4.
    - roave/security-advisories dev-latest conflicts with web-auth/webauthn-lib 4.8.3.
    - roave/security-advisories dev-latest conflicts with web-auth/webauthn-lib 4.8.2.
    - roave/security-advisories dev-latest conflicts with web-auth/webauthn-lib 4.8.1.
    - roave/security-advisories dev-latest conflicts with web-auth/webauthn-lib 4.8.0.
    - roave/security-advisories dev-latest conflicts with web-auth/webauthn-lib 4.8.x-dev.

Craft CMS version

5.2.8

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Craft 5.3.9 is out with web-auth/webauthn-lib 4.9. Thanks for reporting this!

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

3 participants