cve202011978

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: 23 Imported by: 0

Documentation

Overview

Package cve202011978 implements a detector for CVE-2020-11978. This can be deployed by cloning https://github.com/pberba/CVE-2020-11978 and running docker-compose up in the directory.

Index

Constants

View Source
const (
	// Name of the detector.
	Name = "cve/cve-2020-11978"
)

Variables

This section is empty.

Functions

func CheckAccessibility

func CheckAccessibility(ctx context.Context, airflowIP string, airflowServerPort int) bool

CheckAccessibility checks if the airflow server is accessible.

func CheckForBashTask

func CheckForBashTask(ctx context.Context, airflowIP string, airflowServerPort int) bool

CheckForBashTask checks if the airflow server has a bash task.

func CheckForPause

func CheckForPause(ctx context.Context, airflowIP string, airflowServerPort int) bool

CheckForPause checks if the airflow server has a paused dag.

func New

func New() detector.Detector

New returns a detector.

Types

type Detector

type Detector struct{}

Detector is a SCALIBR Detector for CVE-2020-11978.

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 python wheel extractor.

func (Detector) Requirements

func (Detector) Requirements() *plugin.Capabilities

Requirements of the detector.

func (Detector) Scan

Scan checks for the presence of the airflow CVE-2020-11978 vulnerability on the filesystem.

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