Skip to content

Narrow affected versions of malware advisories GHSA-99c5-p789-5985 (yarn-design-system-fonts) and GHSA-wvmw-w29h-jc23 (yarn-design-system-logos) #11996

Backlog

Description

@moelders

Hello, I am part of adidas GitHub organization as owner and I would like to raise a request about two malware advisories of our project adidas YARN Design System.

Summary

yarn-design-system-fonts and yarn-design-system-logos are legitimate adidas packages that we have published to our adidas private registry since July 2019.

In 2021–2022 a third party published one malicious version of each to the public npm registry (a dependency-confusion attack). npm removed them and replaced them with 0.0.1-security holding packages.

Both advisories currently list Affected versions: >= 0. As a result, npm audit reports a critical malware finding for every legitimate adidas release, for all internal consumers, even though the installed tarballs come from our private registry and have never been on public npm.

We are not asking for withdrawal. The malicious versions did exist. We are asking to narrow the affected range to those versions only.

Requested change

Advisory Package Current range Requested range
GHSA-99c5-p789-5985 yarn-design-system-fonts >= 0 = 1.3.1
GHSA-wvmw-w29h-jc23 yarn-design-system-logos >= 0 = 1.4.0

If npm's records show other removed malicious versions, we are happy for those to be included too. Our only goal is that legitimate releases are no longer flagged.

Evidence

1. Public npm registry metadata

The only non-placeholder versions in the public history are the malicious ones:

2. adidas owns the rest of the package family on npm

After the fonts incident, adidas reserved the remaining unscoped YARN package names with its own security holding packages (published by the adidas npm user on 2022-06-07). For example:

adidas also owns the scoped @adidas/yarn-design-system (https://www.npmjs.com/package/@adidas/yarn-design-system, since 2018). Only fonts and logos are held by npm, because those two names had already been taken by the attacker.

3. Private product

Even if adidas published some YARN releases in public npm, the new versions are not publicly available.

4. Legitimate release history (private registry)

Neither yarn-design-system-fonts@1.3.1 nor yarn-design-system-logos@1.4.0 exists in our private registry. Every version below is a legitimate adidas release:

yarn-design-system-fonts

  • 1.x: 1.0.0 (2019-07-17), 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.3.0 (2021-05-13), 1.4.0 (2021-11-29), 1.4.1 (2022-03-16)

yarn-design-system-logos

  • 1.x: 1.0.0 (2019-07-17), 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5 (2022-03-16)

Note that yarn-design-system-fonts@1.4.0 is a legitimate internal release from 2021-11-29. That is why the requested range for fonts is exactly = 1.3.1, not <= 1.4.0.

5. Requester

Happy to provide any additional verification through a private channel if needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions