diff --git a/_service b/_service
index 27e9eda..86173f0 100644
--- a/_service
+++ b/_service
@@ -1,7 +1,7 @@
- cryptography-42.0.2/src/rust
+ cryptography-42.0.5/src/rust
zst
diff --git a/cryptography-42.0.4.tar.gz b/cryptography-42.0.4.tar.gz
deleted file mode 100644
index db54313..0000000
--- a/cryptography-42.0.4.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:831a4b37accef30cccd34fcb916a5d7b5be3cbbe27268a02832c3e450aea39cb
-size 670311
diff --git a/cryptography-42.0.5.tar.gz b/cryptography-42.0.5.tar.gz
new file mode 100644
index 0000000..f1ae5f4
--- /dev/null
+++ b/cryptography-42.0.5.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6fe07eec95dfd477eb9530aef5bead34fec819b3aaf6c5bd6d20565da607bfe1
+size 671025
diff --git a/python-cryptography.changes b/python-cryptography.changes
index 7e40637..a6f9e87 100644
--- a/python-cryptography.changes
+++ b/python-cryptography.changes
@@ -1,3 +1,13 @@
+-------------------------------------------------------------------
+Tue Apr 2 13:19:19 UTC 2024 - Dirk Müller
+
+- update to 42.0.5:
+ * Limit the number of name constraint checks that will be
+ performed in :mod:`X.509 path validation
+ ` to protect against denial
+ of service attacks.
+ * Upgrade pyo3 version, which fixes building on PowerPC.
+
-------------------------------------------------------------------
Thu Feb 22 17:10:39 UTC 2024 - Daniel Garcia
diff --git a/python-cryptography.spec b/python-cryptography.spec
index 7a5dd0d..1dc7ffd 100644
--- a/python-cryptography.spec
+++ b/python-cryptography.spec
@@ -27,7 +27,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-cryptography%{psuffix}
-Version: 42.0.4
+Version: 42.0.5
Release: 0
Summary: Python library which exposes cryptographic recipes and primitives
License: Apache-2.0 OR BSD-3-Clause
diff --git a/vendor.tar.zst b/vendor.tar.zst
index ed35a00..5efbd50 100644
--- a/vendor.tar.zst
+++ b/vendor.tar.zst
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8e06af528b28e87cdd465b889d18afb398871bf9592bd46153c2c94b3d61a8f7
-size 4912304
+oid sha256:9d1e3698edf0b7fa190b59f5ee0abb0bdf3c744db9897f4a646a22f91805e7da
+size 5051368