cve20236019

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package cve20236019 implements a SCALIBR Detector for CVE-2023-6019 To test, install a vulnerable Ray version: python3 -m pip install ray==2.6.3 Start the Ray dashboard: python3 -c "import ray; context = ray.init(); print(context)" Run the detector

Index

Constants

View Source
const (
	// Name of the detector.
	Name = "cve/cve-2023-6019"
)

Variables

This section is empty.

Functions

func New

func New() detector.Detector

New returns a detector.

Types

type Detector

type Detector struct{}

Detector is a SCALIBR Detector for CVE-2023-6019

func (Detector) Name

func (Detector) Name() string

Name of the detector

func (Detector) RequiredExtractors

func (Detector) RequiredExtractors() []string

RequiredExtractors returns the list of OS package extractors needed to detect the presence of the Ray package

func (Detector) Requirements

func (Detector) Requirements() *plugin.Capabilities

Requirements of the detector

func (Detector) Scan

Scan scans for the vulnerability

func (Detector) Version

func (Detector) Version() int

Version of the detector

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL