# s2n-tls has undefined behavior at process exit

Source: https://junglewise.ai/threats/s2n-tls-has-undefined-behavior-at-process-exit-8a7f370e  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-11-14  
License: CC BY 4.0 with a link back

Severity: info · Published 2024-11-14

s2n-tls has undefined behavior at process exit

Technologies: [s2n-tls (crates.io)](https://junglewise.ai/threats/technologies/crates-io-s2n-tls). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 14 November 2024.

**Which products and versions are affected?** s2n-tls (crates.io) SEMVER:introduced=0,fixed=0.3.7.

**Is there a fix for This vulnerability?** Yes. s2n-tls (crates.io): upgrade to 0.3.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run s2n-tls (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- s2n-tls (crates.io): upgrade to 0.3.7 or later

  ```sh
  cargo update -p s2n-tls
  ```


## Affected products

- s2n-tls (crates.io) SEMVER:introduced=0,fixed=0.3.7

## Related threats

- [s2n-tls's mTLS API ordering may skip client authentication](https://junglewise.ai/threats/s2n-tls-s-mtls-api-ordering-may-skip-client-authentication-c2912dbd)
- [s2n-tls has a potentially observable differences in RSA premaster secret handling](https://junglewise.ai/threats/s2n-tls-has-a-potentially-observable-differences-in-rsa-premaster-655bdf14)
