CVE-2025-4894 calmkart Django-sso-server crypto.py gen_rsa_keys inadequate encryption

Medium 6.3 Published Updated

Inadequate encryption strength in the RSA key generation function allows attackers to potentially bypass security controls.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4894?

CVE-2025-4894 is a medium-severity vulnerability in calmkart Django-sso-server, published on 18 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability classified as problematic was found in calmkart Django-sso-server up to 057247929a94ffc358788a37ab99e391379a4d15. This vulnerability affects the function gen_rsa_keys of the file common/crypto.py. The manipulation leads to inadequate encryption strength. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available.

Weakness: CWE-326, CWE-310

Which versions are affected by CVE-2025-4894?

It affects 1 product.

Products include Calmkart Django-Sso-Server.

How do I fix CVE-2025-4894?

No fix has been published for CVE-2025-4894 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-4894 being exploited?

There is no known exploitation of CVE-2025-4894 in the wild and no public exploit code.

Sources

Also known as GHSA-2445-4c8x-52p7.

Is CVE-2025-4894 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free