Skip to main content

Read VEX files

Project description

vex-reader

Utility to read Red Hat VEX files that are located at https://access.redhat.com/security/data/csaf/v2/vex/2024/

I'm (slowly) aiming to make this a bit more extensible so that it can be used with other VEX files beyond just Red Hat, but I'm basing all of this off of Red Hat VEX files to aim to make this a proper parsing library for any VEX documents.

You can install vex-reader by:

Installation

pip install vex-reader

Usage

You can use the vex library in your own python applications or you can clone this repo and use the vex-reader.py script to parse VEX files.

python3 vex-reader.py --vex tests/cve-2002-2443.json
CVE-2002-2443
-------------

Public on : 2002-06-15
Impact    : Moderate
CVSS Score: 5.0

Vulnerability summary
krb5: UDP ping-pong flaw in kpasswd


Vulnerability description
schpw.c in the kpasswd service in kadmind in MIT Kerberos 5 (aka krb5) before 1.11.3 does not properly validate UDP packets before
sending responses, which allows remote attackers to cause a denial of service (CPU and bandwidth consumption) via a forged packet that
triggers a communication loop, as demonstrated by krb_pingpong.nasl, a related issue to CVE-1999-0103.


CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational
purposes to better understand the severity of this vulnerability.


Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License
(https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide
attribution to Red Hat Inc. and provide a link to the original.


Additional Information
  Bugzilla: 962531

External References
  https://bugzilla.redhat.com/show_bug.cgi?id=962531
  https://www.cve.org/CVERecord?id=CVE-2002-2443
  https://nvd.nist.gov/vuln/detail/CVE-2002-2443

Red Hat affected packages and issued errata
  RHSA-2013:0942 -- Red Hat Enterprise Linux Workstation (v. 6)

CVSS v2 Vector
  Red Hat: AV:N/AC:L/Au:N/C:N/I:N/A:P
  NVD    : AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS v2 Score Breakdown
                           Red Hat    NVD
  CVSS v2 Base Score       5.0        5.0
  Access Vector            Network    Network
  Access Complexity        Low        Low
  Authentication           None       None
  Confidentiality Impact   None       None
  Integrity Impact         None       None
  Availability Impact      Partial    Partial

Copyright © Red Hat, Inc. All rights reserved

By detault, vex-reader.py will pull the CVSS score from NVD's API. If this is undesirable (for testing, etc) you can pass the --no-nvd argument to prevent lookups. Currently vex-reader.py requires the VEX file to parse to be on-disk.

A good place to find some VEX documents to play with is here: https://wid.cert-bund.de/.well-known/csaf-aggregator/aggregator.json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vex_reader-0.7.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

vex_reader-0.7-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file vex_reader-0.7.tar.gz.

File metadata

  • Download URL: vex_reader-0.7.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for vex_reader-0.7.tar.gz
Algorithm Hash digest
SHA256 76fb0ad8181adb2a77c4878f0a725bb5ea6dfe4805043f44b63f968e33dadfa7
MD5 619ee3181b797699bb9170b0b61367f7
BLAKE2b-256 b6f894dc0344fb63bd0f06c4331f73a13f5926418104a7e8d05af595c0e6ca11

See more details on using hashes here.

File details

Details for the file vex_reader-0.7-py3-none-any.whl.

File metadata

  • Download URL: vex_reader-0.7-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for vex_reader-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1a36312ba9b94aab2dc520ed15cef09502f2e3148c926eaf9d66922d850b7e45
MD5 fe06a0b254450d82d4199e8fb47dd160
BLAKE2b-256 13b2ebf4323dca2fd25bc1f396cea53937bb6899f83535873f09964becb235b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page