greenbone / gvm-tools

Remote control your Greenbone Community Edition or Greenbone Enterprise Appliance
https://greenbone.github.io/gvm-tools/
GNU General Public License v3.0
162 stars 89 forks source link

Deps: Bump the python-packages group across 1 directory with 5 updates #1121

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps the python-packages group with 5 updates in the / directory:

Package From To
python-gvm 24.3.0 24.6.0
coverage 7.5.3 7.5.4
importlib-metadata 7.1.0 8.0.0
ruff 0.4.9 0.5.1
tomlkit 0.12.5 0.13.0

Updates python-gvm from 24.3.0 to 24.6.0

Release notes

Sourced from python-gvm's releases.

python-gvm 24.6.0

[24.6.0] - 2024-06-18

24.6 contains a major internal refactoring and drops support for GMP < 22.4.

Added

  • Allow to use ignore_pagination for get_tasks 2bc27a2b
  • Add scan config handling for the new protocol implementation 861482fd
  • Introduce a new type for representing an Entity ID ce16191a
  • Add system report, trash can and user setting requests 068594e7
  • Implement Help command 258ca350
  • Implement Feed command 399cebd1
  • Implement Aggregates command 51081ce4
  • Add tests for current requests implementations 5dae6d3c
  • Add basic test for own internal Enum class 70cef3bf
  • Add get_protocol_version static methods for backwards compatibility 1291040e
  • Finalize GMP Connection class and add a test case 66362ed7
  • Add docstrings and tests for Response class d5fb0cda
  • Tests for protocol states and xml reader 88a0c52a
  • Draft new implementation for GMP protocol classes base on the core module d00f702b
  • Add a new GvmProtocol class that will replace the one in gvm.base a65c0465
  • Add types for paramiko 7f21ebbd
  • Add first draft of a core GMP protocol implementation d9f79bdc
  • Allow to create gvm Enums from all kind of objects 20bb19c7
  • Add a decorator for marking code as deprecated 3506fb03
  • Fix type hints for to_bool utils function f352cfdc
  • Specify the API for gvm.xml by defining an all object fdedd601
  • Add an add_filter method to XmlCommand 5d385911
  • Allow to convert an XmlCommandElement into bytes 6475ff76
  • Add a specific exception for XML related errors c35257b0
  • Add a new function to parse XML data into an Element tree 5e05c98c
  • Add lxml-stubs as dev dependency for code completion 38ccca40

Removed

  • Don't export enums from gvm.protocols latest and next modules 6fdbf2b0
  • Replace validate_xml_string with parse_xml 69b33eac
  • Drop usage of defusedxml bb57e354
  • Remove unnecessary print statement in check_command_status utils function 97c9f80b

Changed

  • Allow to auto-generate password and ssh-key for credentials 029aa88d
  • Improve to_comma_list function signature 8b00e035
  • Allow to pass a UUID instance as id for various methods af01bfba
  • Support passing UUIDs for GMP protocol requests 36db6f81
  • Allow passing an UUID to XmlCommand.add_filter as filter_id 6fb277c4
  • Return a string from to_base64 function 8244497a
  • Fix constructor signature of InvalidArgumentType exception 5d36c798
  • Refactor module layout f1876435
  • Rework and improve GvmConnection classes 94e39986
  • Use valid PEP 8 function names c0e7d887

... (truncated)

Commits
  • 3cf5ce7 Automatic release to 24.6.0
  • a2f86c2 Update README for usage of GMP < 22.4
  • 029aa88 Change: Allow to auto-generate password and ssh-key for credentials
  • ae1bd44 Adjust transform classes for bytes based protocol
  • 2bc27a2 Add: Allow to use ignore_pagination for get_tasks
  • 2349792 Deps: Bump urllib3 from 2.2.1 to 2.2.2
  • a1651dd Deps: Bump ruff from 0.4.8 to 0.4.9 in the python-packages group
  • a81f64c Fix docs for enums after creating versioned requests modules
  • d3a5e56 Fix some typing issues
  • d9875f5 Add typing checks with mypy
  • Additional commits viewable in compare view


Updates coverage from 7.5.3 to 7.5.4

Changelog

Sourced from coverage's changelog.

Version 7.5.4 — 2024-06-22

  • If you attempt to combine statement coverage data with branch coverage data, coverage.py used to fail with the message "Can't combine arc data with line data" or its reverse, "Can't combine line data with arc data." These messages used internal terminology, making it hard for people to understand the problem. They are now changed to mention "branch coverage data" and "statement coverage data."

  • Fixed a minor branch coverage problem with wildcard match/case cases using names or guard clauses.

  • Started testing on 3.13 free-threading (nogil) builds of Python. I'm not claiming full support yet. Closes issue 1799_.

.. _issue 1799: nedbat/coveragepy#1799

.. _changes_7-5-3:

Commits
  • 22c09c6 docs: sample HTML for 7.5.4
  • 9e16381 docs: prep for 7.5.4
  • fba9b9e docs: link issue 1799 from the changelog
  • f124de8 build: no longer download kits to upload them
  • 9516cf6 build: hash-pin all actions
  • c6e0985 build: finish up the publish action
  • 4a49458 build: get the latest dist run id for publishing
  • fb15efa build: pin hashes for publishing actions
  • c20af95 build: use the correct item: github.event.action
  • ccbab15 build: dump all the github actions data
  • Additional commits viewable in compare view


Updates importlib-metadata from 7.1.0 to 8.0.0

Changelog

Sourced from importlib-metadata's changelog.

v8.0.0

Deprecations and Removals

  • Message.getitem now raises a KeyError on missing keys. (#371)
  • Removed deprecated support for Distribution subclasses not implementing abstract methods.

v7.2.1

Bugfixes

  • When reading installed files from an egg, use relative_to(walk_up=True) to honor files installed outside of the installation root. (#455)

v7.2.0

Features

Commits
  • f390168 Finalize
  • c3bae1e Merge pull request #491 from python/debt/remove-legacy
  • a970a49 Message.getitem now raises a KeyError on missing keys.
  • 32c14aa Removed deprecated support for Distribution subclasses not implementing abstr...
  • b76931d Finalize
  • 48d2a85 Merge pull request #482 from dan-blanchard/fix-relative-to
  • b94b42e Add news fragment
  • e4d1dcc Remove additional method in SimplePath.
  • 07a2a44 Revert "Fix mypy failure that has nothing to do with this PR"
  • b815aee Mark compat code as uncovered.
  • Additional commits viewable in compare view


Updates ruff from 0.4.9 to 0.5.1

Release notes

Sourced from ruff's releases.

0.5.1

Release Notes

Preview features

  • [flake8-bugbear] Implement mutable-contextvar-default (B039) (#12113)
  • [pycodestyle] Whitespace after decorator (E204) (#12140)
  • [pytest] Reverse PT001 and PT0023 defaults (#12106)

Rule changes

  • Enable token-based rules on source with syntax errors (#11950)
  • [flake8-bandit] Detect httpx for S113 (#12174)
  • [numpy] Update NPY201 to include exception deprecations (#12065)
  • [pylint] Generate autofix for duplicate-bases (PLE0241) (#12105)

Server

  • Avoid syntax error notification for source code actions (#12148)
  • Consider the content of the new cells during notebook sync (#12203)
  • Fix replacement edit range computation (#12171)

Bug fixes

  • Disable auto-fix when source has syntax errors (#12134)
  • Fix cache key collisions for paths with separators (#12159)
  • Make requires-python inference robust to == (#12091)
  • Use char-wise width instead of str-width (#12135)
  • [pycodestyle] Avoid E275 if keyword followed by comma (#12136)
  • [pycodestyle] Avoid E275 if keyword is followed by a semicolon (#12095)
  • [pylint] Skip dummy variables for PLR1704 (#12190)

Performance

  • Remove allocation in parse_identifier (#12103)
  • Use CompactString for Identifier AST node (#12101)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.5.1

Preview features

  • [flake8-bugbear] Implement mutable-contextvar-default (B039) (#12113)
  • [pycodestyle] Whitespace after decorator (E204) (#12140)
  • [pytest] Reverse PT001 and PT0023 defaults (#12106)

Rule changes

  • Enable token-based rules on source with syntax errors (#11950)
  • [flake8-bandit] Detect httpx for S113 (#12174)
  • [numpy] Update NPY201 to include exception deprecations (#12065)
  • [pylint] Generate autofix for duplicate-bases (PLE0241) (#12105)

Server

  • Avoid syntax error notification for source code actions (#12148)
  • Consider the content of the new cells during notebook sync (#12203)
  • Fix replacement edit range computation (#12171)

Bug fixes

  • Disable auto-fix when source has syntax errors (#12134)
  • Fix cache key collisions for paths with separators (#12159)
  • Make requires-python inference robust to == (#12091)
  • Use char-wise width instead of str-width (#12135)
  • [pycodestyle] Avoid E275 if keyword followed by comma (#12136)
  • [pycodestyle] Avoid E275 if keyword is followed by a semicolon (#12095)
  • [pylint] Skip dummy variables for PLR1704 (#12190)

Performance

  • Remove allocation in parse_identifier (#12103)
  • Use CompactString for Identifier AST node (#12101)

0.5.0

Check out the blog post for a migration guide and overview of the changes!

Breaking changes

See also, the "Remapped rules" section which may result in disabled rules.

  • Follow the XDG specification to discover user-level configurations on macOS (same as on other Unix platforms)
  • Selecting ALL now excludes deprecated rules
  • The released archives now include an extra level of nesting, which can be removed with --strip-components=1 when untarring.
  • The release artifact's file name no longer includes the version tag. This enables users to install via /latest URLs on GitHub.
  • The diagnostic ranges for some flake8-bandit rules were modified (#10667).

... (truncated)

Commits
  • 3a72400 Rename publish workflow file extension (yaml -> yml) (#12206)
  • 1b3bff0 Bump version to 0.5.1 (#12205)
  • 0f6f73e [red-knot] Require that FileSystem objects implement Debug (#12204)
  • 7910bee Consider the content of the new cells during notebook sync (#12203)
  • f3ccd15 Revert "Remove --preview as a required argument for ruff server (#12053)"...
  • 1e07bfa [pycodestyle] Whitespace after decorator (E204) (#12140)
  • 5e7ba05 docs(*): fix a few typos, consistency issues and links (#12193)
  • d12570e docs(options): fix some typos and improve consistency (#12191)
  • 2f3264e fix(rules): skip dummy variables for PLR1704 (#12190)
  • e2e0889 [red-knot] Add very basic benchmark (#12182)
  • Additional commits viewable in compare view


Updates tomlkit from 0.12.5 to 0.13.0

Release notes

Sourced from tomlkit's releases.

0.13.0

What's Changed

New Contributors

Full Changelog: https://github.com/python-poetry/tomlkit/compare/0.12.5...0.13.0

Changelog

Sourced from tomlkit's changelog.

[0.13.0] - 2024-07-10

Changed

  • Expect a tomlkit-specific error instead of TypeError from a custom encoder. (#355)
  • Drop support for Python older than 3.8. Remove 3.7 from the CI matrix.

Fixed

  • Fix the incompatiblity with 3.13 because of the datetime.replace() change. (#333)
  • Revert the change of parsing out-of-order tables. (#347)
  • Keep the nested out-of-order table. (#361)
Commits
  • 4d06dff chore: bump version to 0.13.0
  • 85aaf7a fix: keep the nested out of order table (#366)
  • f12ece3 chore(deps-dev): bump zipp from 3.15.0 to 3.19.1 (#365)
  • f4b2f74 chore(deps-dev): bump requests from 2.31.0 to 2.32.2 (#364)
  • 0747884 chore(deps-dev): bump urllib3 from 2.0.7 to 2.2.2 (#363)
  • d55d837 fix: Remove 3.7 from the CI matrix
  • 49daa69 chore(deps-dev): bump certifi from 2024.2.2 to 2024.7.4 (#362)
  • cce567c [pre-commit.ci] pre-commit autoupdate (#359)
  • 400057b fix: tomlkit 0.12.5 : Encoder contract interferes with external TypeError...
  • 22676f9 Update tests action (#357)
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
github-actions[bot] commented 2 months ago

Conventional Commits Report

Type Number
Changed 1
Dependencies 1

:rocket: Conventional commits found.

github-actions[bot] commented 2 months ago

:mag: Vulnerabilities of harbor-os.greenbone.net/community/gvm-tools:pr-1121

:package: Image Reference harbor-os.greenbone.net/community/gvm-tools:pr-1121
digestsha256:0d1c2468c4729d7cdb6abd115c5139fe1e326196fc79a3b67976bbae8706e6a7
vulnerabilitiescritical: 2 high: 9 medium: 8 low: 29 unspecified: 6
size75 MB
packages184
:package: Base Image debian:stable-20240701-slim
also known as
  • stable-slim
digestsha256:eec4e1b68b201f1458bd3a0e1ef078bda3402c06c0e338e69ed3b58b3a0b0eea
vulnerabilitiescritical: 0 high: 0 medium: 0 low: 23
critical: 2 high: 8 medium: 7 low: 0 unspecified: 6stdlib 1.19.8 (golang) pkg:golang/stdlib@1.19.8
critical : CVE--2024--24790
Affected range<1.21.11
Fixed version1.21.11
EPSS Score0.06%
EPSS Percentile27th percentile
Description
The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which would return true in their traditional IPv4 forms.
critical : CVE--2023--24540
Affected range<1.19.9
Fixed version1.19.9
EPSS Score0.26%
EPSS Percentile66th percentile
Description
Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.
high : CVE--2023--29403
Affected range<1.19.10
Fixed version1.19.10
EPSS Score0.06%
EPSS Percentile24th percentile
Description
On Unix platforms, the Go runtime does not behave differently when a binary is run with the setuid/setgid bits. This can be dangerous in certain cases, such as when dumping memory state, or assuming the status of standard i/o file descriptors. If a setuid/setgid binary is executed with standard I/O file descriptors closed, opening any files can result in unexpected content being read or written with elevated privileges. Similarly, if a setuid/setgid program is terminated, either via panic or signal, it may leak the contents of its registers.
high : CVE--2024--24791
Affected range<1.21.12
Fixed version1.21.12
EPSS Score0.04%
EPSS Percentile16th percentile
Description
The net/http HTTP/1.1 client mishandled the case where a server responds to a request with an "Expect: 100-continue" header with a non-informational (200 or higher) status. This mishandling could leave a client connection in an invalid state, where the next request sent on the connection will fail. An attacker sending a request to a net/http/httputil.ReverseProxy proxy can exploit this mishandling to cause a denial of service by sending "Expect: 100-continue" requests which elicit a non-informational response from the backend. Each such request leaves the proxy with an invalid connection, and causes one subsequent request using that connection to fail.
high : CVE--2023--45287
Affected range<1.20.0
Fixed version1.20.0
EPSS Score0.07%
EPSS Percentile31st percentile
Description
Before Go 1.20, the RSA based TLS key exchanges used the math/big library, which is not constant time. RSA blinding was applied to prevent timing attacks, but analysis shows this may not have been fully effective. In particular it appears as if the removal of PKCS#1 padding may leak timing information, which in turn could be used to recover session key bits. In Go 1.20, the crypto/tls library switched to a fully constant time RSA implementation, which we do not believe exhibits any timing side channels.
high : CVE--2023--45283
Affected range<1.20.11
Fixed version1.20.11
EPSS Score0.10%
EPSS Percentile41st percentile
Description
The filepath package does not recognize paths with a \??\ prefix as special. On Windows, a path beginning with \??\ is a Root Local Device path equivalent to a path beginning with \\?\. Paths with a \??\ prefix may be used to access arbitrary locations on the system. For example, the path \??\c:\x is equivalent to the more common path c:\x. Before fix, Clean could convert a rooted path such as \a\..\??\b into the root local device path \??\b. Clean will now convert this to .\??\b. Similarly, Join(\, ??, b) could convert a seemingly innocent sequence of path elements into the root local device path \??\b. Join will now convert this to \.\??\b. In addition, with fix, IsAbs now correctly reports paths beginning with \??\ as absolute, and VolumeName correctly reports the \??\ prefix as a volume name. UPDATE: Go 1.20.11 and Go 1.21.4 inadvertently changed the definition of the volume name in Windows paths starting with \?, resulting in filepath.Clean(\?\c:) returning \?\c: rather than \?\c:\ (among other effects). The previous behavior has been restored.
high : CVE--2023--44487
Affected range<1.20.10
Fixed version1.20.10
EPSS Score73.19%
EPSS Percentile98th percentile
Description
A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded by the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. With the fix applied, HTTP/2 servers now bound the number of simultaneously executing handler goroutines to the stream concurrency limit (MaxConcurrentStreams). New requests arriving when at the limit (which can only happen after the client has reset an existing, in-flight request) will be queued until a handler exits. If the request queue grows too large, the server will terminate the connection. This issue is also fixed in golang.org/x/net/http2 for users manually configuring HTTP/2. The default stream concurrency limit is 250 streams (requests) per HTTP/2 connection. This value may be adjusted using the golang.org/x/net/http2 package; see the Server.MaxConcurrentStreams setting and the ConfigureServer function.
high : CVE--2023--39325
Affected range<1.20.10
Fixed version1.20.10
EPSS Score0.21%
EPSS Percentile59th percentile
Description
A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded by the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. With the fix applied, HTTP/2 servers now bound the number of simultaneously executing handler goroutines to the stream concurrency limit (MaxConcurrentStreams). New requests arriving when at the limit (which can only happen after the client has reset an existing, in-flight request) will be queued until a handler exits. If the request queue grows too large, the server will terminate the connection. This issue is also fixed in golang.org/x/net/http2 for users manually configuring HTTP/2. The default stream concurrency limit is 250 streams (requests) per HTTP/2 connection. This value may be adjusted using the golang.org/x/net/http2 package; see the Server.MaxConcurrentStreams setting and the ConfigureServer function.
high : CVE--2023--29400
Affected range<1.19.9
Fixed version1.19.9
EPSS Score0.14%
EPSS Percentile50th percentile
Description
Templates containing actions in unquoted HTML attributes (e.g. "attr={{.}}") executed with empty input can result in output with unexpected results when parsed due to HTML normalization rules. This may allow injection of arbitrary attributes into tags.
high : CVE--2023--24539
Affected range<1.19.9
Fixed version1.19.9
EPSS Score0.14%
EPSS Percentile50th percentile
Description
Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character can result in unexpectedly closing the CSS context and allowing for injection of unexpected HTML, if executed with untrusted input.
medium : CVE--2023--29406
Affected range<1.19.11
Fixed version1.19.11
EPSS Score0.09%
EPSS Percentile39th percentile
Description
The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value.
medium : CVE--2023--39319
Affected range<1.20.8
Fixed version1.20.8
EPSS Score0.06%
EPSS Percentile26th percentile
Description
The html/template package does not apply the proper rules for handling occurrences of " contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could be leveraged to perform an XSS attack.
medium : CVE--2023--39318
Affected range<1.20.8
Fixed version1.20.8
EPSS Score0.08%
EPSS Percentile36th percentile
Description
The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in Githubissues.
  • Githubissues is a development platform for aggregating issues.