cve202233891

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0, BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Overview

Package cve202233891 implements a detector for CVE-2022-33891. To test, install a vulnerable pyspark version: python3 -m pip install pyspark==3.2.1 Run the spark-shell: spark-shell --conf spark.acls.enable=true If spark-shell crashes with an error, change your java version to an old one: sudo update-alternatives --config java (JAVA 11 works) Run this detector.

Index

Constants

View Source
const (
	// Name of the detector.
	Name = "cve/cve-2022-33891"
)

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-2022-33891.

func (Detector) DetectedFinding added in v0.3.1

func (d Detector) DetectedFinding() inventory.Finding

DetectedFinding returns generic vulnerability information about what is detected.

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 pyspark package in various OSes.

func (Detector) Requirements

func (Detector) Requirements() *plugin.Capabilities

Requirements of the detector.

func (Detector) Scan

Scan scans for the vulnerability, doh!

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