Skip to content

magento/magento2-base module dependency issue #34562

@t-heuser

Description

@t-heuser

Preconditions (*)

  1. Magento 2.4.3-p1
  2. Use roave/security-advisories to check for vulnerabilities in your dependencies

Steps to reproduce (*)

  1. Run composer require --dev roave/security-advisories:dev-latest or composer update --dry-run roave/security-advisories (if package already installed)

Expected result (*)

  1. The process should be successful.

Actual result (*)

Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - magento/product-community-edition is locked to version 2.4.3-p1 and an update of this package was not requested.
    - roave/security-advisories dev-latest conflicts with tinymce/tinymce <5.10 (magento/magento2-base 2.4.3-p1 replaces tinymce/tinymce 3.4.7).
    - magento/product-community-edition 2.4.3-p1 requires magento/magento2-base 2.4.3-p1 -> satisfiable by magento/magento2-base[2.4.3-p1].
    - Root composer.json requires roave/security-advisories dev-latest -> satisfiable by roave/security-advisories[dev-latest].


Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Explanation

2 days ago, "tinymce/tinymce" was added as vulnerable below version 5.10 (commit). Since then it's not possible to run the security check as it always fails as in the composer.json of the package magento/magento2-base you can find the following line:

    "replace": {
        "trentrichardson/jquery-timepicker-addon": "1.4.3",
        "components/jquery": "1.11.0",
        "blueimp/jquery-file-upload": "5.6.14",
        "components/jqueryui": "1.10.4",
        "twbs/bootstrap": "3.1.0",
        "tinymce/tinymce": "3.4.7"
    },

Magento doesn't require tinymce directly as composer package but replaces it which is enough to trigger the security alert. Maybe the replace should be removed as I don't really see a sense in it.

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Area: Install & AdministerIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Reported on 2.4.3-p1Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions