I was facing the same issue with python's cryptography library v44.0 on AWS lambda, It turns out AWS lambda's execution environment runs on Amazon linux 2 which has glibc version 2.26 and the latest cryptography lib uses glib 2.28.
And I found out that, The cryptography library v37.0.4 is known to work with glibc 2.26. So downgrading to v37.0.4 solves the issue.