AboutCode Affected By Advisories API

The Affected By Advisories API from AboutCode — 1 operation(s) for affected by advisories.

GitHub OpenAPI

Operations 1

GET /api/v3/affected-by-advisories/ V3 affected by advisories list #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aboutcode:aboutcode-affected-by-advisories-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aboutcode-affected-by-advisories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aboutcode Affected By Advisories API
  version: 40.2.0
  contact:
    name: nexB Inc.
    url: https://public.vulnerablecode.io
    email: mailto:info@nexb.com
  license:
    name: 'Source code: Apache-2.0 | Data: CC-BY-SA-4.0'
    url: https://github.com/nexb/vulnerablecode#license
  termsOfService: /tos/
  description: 'Operations tagged Affected By Advisories across 2 of this provider''s published API definitions: vulnerablecode-openapi.yml, aboutcode-vulnerablecode-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://public.vulnerablecode.io
tags:
- name: Affected By Advisories
paths:
  /api/v3/affected-by-advisories/:
    get:
      operationId: v3_affected_by_advisories_list
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: page_size
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - in: query
        name: purl
        schema:
          type: string
        description: Package-URL (PURL) to query.
        required: true
      tags:
      - Affected By Advisories
      security:
      - tokenAuth: []
      - {}
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedAffectedByAdvisoryV3List'
          description: ''
      summary: V3 affected by advisories list
      x-summary-source: derived
components:
  schemas:
    PaginatedAffectedByAdvisoryV3List:
      type: object
      required:
      - count
      - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?page=4
        previous:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?page=2
        results:
          type: array
          items:
            $ref: '#/components/schemas/AffectedByAdvisoryV3'
    AdvisoryReference:
      type: object
      properties:
        url:
          type: string
        reference_type:
          type: string
        reference_id:
          type: string
      required:
      - reference_id
      - reference_type
      - url
    AdvisorySeverity:
      type: object
      properties:
        url:
          type:
          - string
          - 'null'
          format: uri
          description: URL to the vulnerability severity
          maxLength: 1024
        value:
          type:
          - string
          - 'null'
          description: 'Example: 9.0, Important, High'
          maxLength: 50
        scoring_system:
          allOf:
          - $ref: '#/components/schemas/ScoringSystemEnum'
          description: 'Identifier for the scoring system used. Available choices are: cvssv2: CVSSv2 Base Score,

            cvssv3: CVSSv3 Base Score,

            cvssv3.1: CVSSv3.1 Base Score,

            cvssv4: CVSSv4 Base Score,

            rhbs: RedHat Bugzilla severity,

            rhas: RedHat Aggregate severity,

            archlinux: Archlinux Vulnerability Group Severity,

            cvssv3.1_qr: CVSSv3.1 Qualitative Severity Rating,

            generic_textual: Generic textual severity rating,

            apache_httpd: Apache Httpd Severity,

            apache_tomcat: Apache Tomcat Severity,

            epss: Exploit Prediction Scoring System,

            ssvc: Stakeholder-Specific Vulnerability Categorization,

            openssl: OpenSSL Severity,

            ubuntu-priority: Ubuntu Priority '
        scoring_elements:
          type:
          - string
          - 'null'
          description: Supporting scoring elements used to compute the score values. For example a CVSS vector string as used to compute a CVSS score.
          maxLength: 250
        published_at:
          type:
          - string
          - 'null'
          format: date-time
          description: UTC Date of publication of the vulnerability severity
      required:
      - published_at
      - scoring_elements
      - scoring_system
      - url
      - value
    ScoringSystemEnum:
      enum:
      - cvssv2
      - cvssv3
      - cvssv3.1
      - cvssv4
      - rhbs
      - rhas
      - archlinux
      - cvssv3.1_qr
      - generic_textual
      - apache_httpd
      - apache_tomcat
      - epss
      - ssvc
      - openssl
      - ubuntu-priority
      type: string
    AdvisoryWeakness:
      type: object
      properties:
        cwe_id:
          type: string
        name:
          type: string
        description:
          type: string
      required:
      - cwe_id
      - description
      - name
    AffectedByAdvisoryV3:
      type: object
      properties:
        advisory_id:
          type: string
          description: An advisory is a unique vulnerability identifier in some database, such as PYSEC-2020-2233
          maxLength: 200
        advisory_uid:
          type: string
          readOnly: true
        datasource_id:
          type: string
          description: 'Unique ID for the datasource used for this advisory .e.g.: nginx'
          maxLength: 50
        url:
          type: string
          format: uri
          description: Link to the advisory on the upstream website
          maxLength: 200
        aliases:
          type: array
          items:
            type: string
          readOnly: true
        summary:
          type: string
        severities:
          type: array
          items:
            $ref: '#/components/schemas/AdvisorySeverity'
        weaknesses:
          type: array
          items:
            $ref: '#/components/schemas/AdvisoryWeakness'
        references:
          type: array
          items:
            $ref: '#/components/schemas/AdvisoryReference'
        exploitability:
          type:
          - string
          - 'null'
          format: decimal
          pattern: ^-?\d{0,1}(?:\.\d{0,1})?$
          description: Exploitability indicates the likelihood that a vulnerability in a software package could be used by malicious actors to compromise systems, applications, or networks. This metric is determined automatically based on the discovery of known exploits.
        weighted_severity:
          type:
          - string
          - 'null'
          format: decimal
          pattern: ^-?\d{0,2}(?:\.\d{0,1})?$
          description: Weighted severity is the highest value calculated by multiplying each severity by its corresponding weight, divided by 10.
        risk_score:
          type:
          - string
          - 'null'
          format: decimal
          pattern: ^-?\d{0,2}(?:\.\d{0,1})?$
          description: Risk expressed as a number ranging from 0 to 10. Risk is calculated from weighted severity and exploitability values. It is the maximum value of (the weighted severity multiplied by its exploitability) or 10. Risk = min(weighted severity * exploitability, 10)
        related_ssvc_trees:
          type: string
          readOnly: true
        fixed_by_packages:
          type: string
          readOnly: true
        todo_count:
          type: integer
          readOnly: true
        is_curation:
          type: boolean
          description: Indicates whether this is a curation advisory.
        curating_advisories:
          type: string
          readOnly: true
      required:
      - advisory_id
      - advisory_uid
      - aliases
      - curating_advisories
      - datasource_id
      - fixed_by_packages
      - references
      - related_ssvc_trees
      - severities
      - todo_count
      - url
      - weaknesses
  securitySchemes:
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"
x-refined-from:
- vulnerablecode-openapi.yml
- aboutcode-vulnerablecode-openapi.yml