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

Add: version ranges #513

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add: version ranges #513

wants to merge 1 commit into from

Conversation

Kraemii
Copy link
Member

@Kraemii Kraemii commented Jul 26, 2023

Now it is possible to set a range for versions within a package is vulnerable

E.g.:

{
    "version": "1.0",
    "package_type": "deb",
    "product_name": "Test OS",
    "advisories": [
        {
            "oid": "1.3.6.1.4.1.25623.1.1.7.2.2023.0988598199100",
            "fixed_packages": [
                {
                    "name": "grafana",
                    "full_version": "8.5.24",
                    "specifier": ">="
                },
                {
                    "range": [
                        {
                            "name": "grafana",
                            "full_version": "9.0.0",
                            "specifier": "<"
                        },
                        {
                            "name": "grafana",
                            "full_version": "9.2.17",
                            "specifier": ">="
                        }
                    ]
                },
                {
                    "range": [
                        {
                            "name": "grafana",
                            "full_version": "9.3.0",
                            "specifier": "<"
                        },
                        {
                            "name": "grafana",
                            "full_version": "9.3.13",
                            "specifier": ">="
                        }
                    ]
                }
            ]
        }
    ]
}

SC-894

Copy link
Contributor

@bjoernricks bjoernricks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a comment to the jira issue.

@Kraemii Kraemii force-pushed the package-range branch 2 times, most recently from b49750b to a669af0 Compare July 27, 2023 14:24
Now it is possible to set a range for versions within a package is vulnerable
@y0urself
Copy link
Member

@Kraemii close?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants