PyPi: Smqtk-Detection

CVE-2022-21699

Transitive

Safety vulnerability ID: 49253

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Jan 19, 2022 Updated at Nov 28, 2023
Scan your Python projects for vulnerabilities →

Advisory

Smqtk-detection 0.19.0 updates its dependency 'ipython' to v7.16.3 to include a security fix.

Affected package

smqtk-detection

Latest version: 0.20.1

Algorithms, data structures and utilities around performing detection of inputs

Affected versions

Fixed versions

Vulnerability changelog

=======
This minor release includes refinements to the `DetectImageObjects` plugins,
including a change to return semantic class labels instead of just integers,
reducing the need for the caller to know intrinsics about the plugin/model in
order to use it.

See below for additional updates and fixes.

Updates / New Features
----------------------

CI

* Updated CI unittests workflow to include codecov reporting.
Reduced CodeCov report submission by skipping this step on scheduled runs.

Documentation

* Updated CONTRIBUTING.md to reference smqtk-core's CONTRIBUTING.md file.

Detect Image Objects

* Updated the `ResNetFRCNN` to return as its class labels the label strings
instead of integers, reducing the burden of users from having to repeatedly
find and allocate the appropriate int-to-label map.

* Update `CenterNetVisdrone` to lazy load its model on first inference.

* Update `CenterNetVisdrone` to return VisDrone class labels instead of
integers.

Unit Tests

* Added unit tests for the `CenterNetVisdrone` plugin.

Utilities

* Remove duplicate implementation of `AxisAlignedBoundingBox`, using the tested
version that comes from the ``smqtk_image_io`` package.

Fixes
-----

Detect Image Object

* Fixed batched operation memory usage in `ResNetFRCNN` by loading only current
batch into computation device memory. Previously all images were loaded at
once.

* Fixed device mapping when loading certain background architectures for
`CenterNetVisdrone`.

Dependency Versions

* Updated the developer dependency and locked version of ipython to address a
security vulnerability.

* Removed `jedi = "^0.17.2"` requirement since recent `ipython = "^7.17.3"`
update appropriately addresses the dependency.

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 8.8

CVSS v3 Details

HIGH 8.8
Attack Vector (AV)
LOCAL
Attack Complexity (AC)
LOW
Privileges Required (PR)
LOW
User Interaction (UI)
NONE
Scope (S)
CHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH

CVSS v2 Details

MEDIUM 4.6
Access Vector (AV)
LOCAL
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
PARTIAL