Skip to content

Use affected instead of versionUnaffected for reporting fixed versions from DEPS #1153

Description

@keshav-space

Currently, we're reporting versionUnaffected as the fixed version which is not precisely the fixed version.
We can make use of affected to get the fixed version.

"affected": "{[0.0.0-0:2.1.3)}",
"rawAffected": "Introduced: 0, Fixed: 2.1.3",

Screenshot 2023-03-17 at 1 39 00 PM



Warning
Don't use rawAffected as it's susceptible to change as shown below

GHSA-jfh8-c2jp-5v3q (as on 17-Mar-2023)

"affected": "{[0.alpha:2.3.1),[2.4:2.12.2),[2.13:2.15)}"
"rawAffected": "Introduced: 2.13.0, Fixed: 2.15.0, Introduced: 0, Fixed: 2.3.1, Introduced: 2.4, Fixed: 2.12.2"

GHSA-jfh8-c2jp-5v3q (as on 22-Dec-2022)

"affected": "{[2.4:2.12.2),[0.alpha:2.3.1),[2.13:2.15)}",
"rawAffected": ">= 2.4, < 2.12.2 or < 2.3.1 or >= 2.13.0, < 2.15.0",

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions