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

Snyk alert about master branch #493

Open
HZ-labs opened this issue May 16, 2024 · 2 comments
Open

Snyk alert about master branch #493

HZ-labs opened this issue May 16, 2024 · 2 comments
Labels

Comments

@HZ-labs
Copy link

HZ-labs commented May 16, 2024

We used Snyk and the master branch of php-imap.

Because in composer we have "dev-master": "1.0-dev", Snyk shows a Critical severity vulnerability.

How can we fix it?
image

@Webklex
Copy link
Owner

Webklex commented May 16, 2024

Hi @HZ-labs ,
the easiest way might be to update to the latest version, as mentioned in the Snyk report - if that isn't possible, make sure to read the advisory and don't use the Attachment::save() method.

I hope this helps :)

Best regards & happy coding,

@HZ-labs
Copy link
Author

HZ-labs commented May 16, 2024

Hi, @Webklex
thank you for the answer.

That is, it is normal that for the latest dev version after 5.5.0 in composer.json used:

{
...
    "extra": {
        "branch-alias": {
            "dev-master": "1.0.x-dev"
        }
    }
}

Maybe it should be 5.5.x-dev or something with version 5?

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