linuxfabrik-lib@3.4.0

Python libraries used in various Linuxfabrik projects, including the 'Linuxfabrik Monitoring Plugins' project.

  • latest version

    6.0.0

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the linuxfabrik-lib package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Command Injection

    linuxfabrik-lib is a Python libraries used in various Linuxfabrik projects, including the 'Linuxfabrik Monitoring Plugins' project.

    Affected versions of this package are vulnerable to Command Injection via the shell_exec function. An attacker can execute arbitrary commands with elevated privileges by injecting malicious input into command arguments that are passed to the shell. This is only exploitable if the affected plugin is listed in the sudoers file, allowing a user with limited privileges to escalate to root.

    How to fix Command Injection?

    Upgrade linuxfabrik-lib to version 5.0.0 or higher.

    [,5.0.0)
    • M
    Insecure Temporary File

    linuxfabrik-lib is a Python libraries used in various Linuxfabrik projects, including the 'Linuxfabrik Monitoring Plugins' project.

    Affected versions of this package are vulnerable to Insecure Temporary File in the process that creates SQLite databases at predictable paths in /tmp. An attacker can overwrite or modify arbitrary files by creating symlinks at these paths, which are then followed by the monitoring scripts. This can result in unauthorized modification of files or denial of service by corrupting or replacing important files when the scripts are executed with elevated privileges. This is only exploitable if an attacker has already compromised the account used to execute the monitoring scripts and the system does not employ protections such as isolated temporary directories.

    How to fix Insecure Temporary File?

    Upgrade linuxfabrik-lib to version 4.2.0 or higher.

    [,4.2.0)
    • H
    Arbitrary Argument Injection

    linuxfabrik-lib is a Python libraries used in various Linuxfabrik projects, including the 'Linuxfabrik Monitoring Plugins' project.

    Affected versions of this package are vulnerable to Arbitrary Argument Injection in the configuration of the sudoers file, which allows arbitrary arguments to be passed to apt-get. An attacker can gain root privileges by supplying crafted arguments to execute arbitrary commands as root. This is only exploitable if the attacker has already compromised the nagios account and the provided sudoers configuration is in use.

    How to fix Arbitrary Argument Injection?

    Upgrade linuxfabrik-lib to version 5.1.0 or higher.

    [,5.1.0)