Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2023-47248 Mitigation #1399

Merged
merged 3 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/conda/recipes/morpheus/morpheus_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ cmake -B ${BUILD_DIR} \
cmake --build ${BUILD_DIR} -j${PARALLEL_LEVEL:-$(nproc)}

# Install just the python wheel components
${PYTHON} -m pip install -vv --no-deps ${BUILD_DIR}/dist/*.whl
${PYTHON} -m pip install -vv ${BUILD_DIR}/dist/*.whl
5 changes: 3 additions & 2 deletions docker/conda/environments/cuda11.8_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ dependencies:
- pip:
# Add additional dev dependencies here
- databricks-connect
- pytest-kafka==0.6.0
- pymilvus==2.3.2
- milvus==2.3.2
- pyarrow_hotfix # CVE-2023-47248. See morpheus/__init__.py for more details
- pymilvus==2.3.2
- pytest-kafka==0.6.0
6 changes: 6 additions & 0 deletions morpheus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
# limitations under the License.
"""Root module for the Morpheus library."""

# ########################### CVE-2023-47248 Mitigation ############################
# Import pyarrow_hotfix as early as possible to ensure that the pyarrow hotfix is applied before any code can use it
# Can be removed after upgrading to pyarrow 14.0.1 or later (which is dictated by cudf)
import pyarrow_hotfix
# ##################################################################################

import logging
import os

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
packages=find_packages(include=["morpheus*"], exclude=['tests']),
install_requires=[
# Only list the packages which cannot be installed via conda here.
"pyarrow_hotfix", # CVE-2023-47248. See morpheus/__init__.py for more details
],
license="Apache",
python_requires='>=3.10, <4',
Expand Down