Skip to content

Composer dependency affected by security advisories #8

@leander-hass

Description

@leander-hass

Hey there,
I just wanted to inform you guys that I have had trouble updating my project.
Every time I run composer update I get the following error:

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

  Problem 1
    - Root composer.json requires mistralys/text-diff ^2.0.2 -> satisfiable by mistralys/text-diff[2.0.2].
    - mistralys/application-utils[1.2.5, ..., 1.3.1] require geshi/geshi 1.0.9.1 -> found geshi/geshi[v1.0.9.1] but these were not loaded, because they are affected by security advisories. To ignore the advisories, add ("PKSA-ns3q-qtk3-d35r") to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.
    - mistralys/application-utils[1.4.0, ..., 1.9.1, 2.0.0, ..., 2.2.11] require geshi/geshi >=1.0.9.1 -> found geshi/geshi[v1.0.9.1] but these were not loaded, because they are affected by security advisories. To ignore the advisories, add ("PKSA-ns3q-qtk3-d35r") to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.
    - mistralys/application-utils[2.3.0, ..., 2.5.0] require geshi/geshi >=1.0 -> found geshi/geshi[v1.0.8.12, v1.0.8.13, v1.0.9.0, v1.0.9.1] but these were not loaded, because they are affected by security advisories. To ignore the advisories, add ("PKSA-ns3q-qtk3-d35r") to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.
    - mistralys/application-utils-core[1.0.0, ..., 1.2.2, 2.2.3, ..., 2.4.1] require geshi/geshi >=1.0 -> found geshi/geshi[v1.0.8.12, v1.0.8.13, v1.0.9.0, v1.0.9.1] but these were not loaded, because they are affected by security advisories. To ignore the advisories, add ("PKSA-ns3q-qtk3-d35r") to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.
    - mistralys/application-utils[3.0.0, ..., 3.0.3] require mistralys/application-utils-core >=1.0.1 -> satisfiable by mistralys/application-utils-core[1.0.1, ..., 1.2.2, 2.2.3, ..., 2.4.1].
    - mistralys/application-utils[3.0.4, ..., 3.0.5] require mistralys/application-utils-core >=1.0.3 -> satisfiable by mistralys/application-utils-core[1.0.3, ..., 1.2.2, 2.2.3, ..., 2.4.1].
    - mistralys/application-utils[3.1.0, ..., 3.1.10] require mistralys/application-utils-core >=2.2.3 -> satisfiable by mistralys/application-utils-core[2.2.3, ..., 2.4.1].
    - mistralys/text-diff 2.0.2 requires mistralys/application-utils >=1.2.5 -> satisfiable by mistralys/application-utils[1.2.5, ..., 1.9.1, 2.0.0, ..., 2.5.0, 3.0.0, ..., 3.1.10].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Minimal composer.json to reproduce:

{
    "config": {
        "preferred-install": {
            "*": "dist"
        }
    },
    "require": {
        "php": "^8.4",
        "mistralys/text-diff": "^2.0.2"
    }
}

It seems like the fix has to be done in one of the dependencies (I don't know if this has already happened) and then, bump the used version number in this project.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions