Security Experts:

Connect with us

Hi, what are you looking for?



Amazon Releases New Open Source Implementation of TLS Protocol

Amazon announced on Tuesday the availability of s2n, a new open source implementation of the Transport Layer Security (TLS) protocol that is designed to be simple, small, fast, and secure.

Amazon announced on Tuesday the availability of s2n, a new open source implementation of the Transport Layer Security (TLS) protocol that is designed to be simple, small, fast, and secure.

Numerous TLS vulnerabilities have been discovered over the past period, and bugs such as Heartbleed have shown that popular implementations such as OpenSSL are not always the best choice.

s2n, which is short for “signal to noise,” implements SSLv3, TLS 1.0, TLS 1.1, and TLS 1.2. It supports AES-128 and AES-256 in CBC and GCM modes, 3DES, and RC4. s2n supports both DHE and ECDHE for forward secrecy. The Online Certificate Status Protocol (OCSP), Application-Layer Protocol Negotiation (ALPN), and Server Name Indicator (SNI) TLS extensions are also supported. However, Amazon has pointed out that SSLv3, DHE and RC4 are disabled by default for security reasons.

s2n Amazon“As it can be difficult to keep track of which encryption algorithms and protocols are best to use, s2n features a simple API to use the latest ‘default’ set of preferences. If you prefer to remain on a specific version for backwards compatibility, that is also supported,” Amazon said.

According to Stephen Schmidt, VP of security engineering and CISO at AWS, s2n will be integrated into several AWS services over the coming months.

“TLS is a standardized protocol and s2n already implements the functionality that we use, so this won’t require any changes in your own applications and everything will remain interoperable,” Schmidt noted in a blog post.

OpenSSL, which has been under development since 1998, has more than 500,000 lines of code. This makes auditing and security reviews a difficult task. In contrast, s2n only has 6,000 lines of code and it has already undergone three external security evaluations and penetration tests.

However, Schmidt has pointed out that s2n isn’t intended as a replacement for OpenSSL, which Amazon supports through the Linux Foundation’s Core Infrastructure Initiative. Furthermore, Schmidt has highlighted the fact that s2n is just an implementation of TLS and it doesn’t provide a general purpose cryptography library, such as the “libcrypto” library in OpenSSL.

Those interested in using or contributing to s2n can find the source code and documentation on GitHub. The project is available under the Apache Software License 2.0.

Experts who find security bugs in s2n are advised to report them to AWS via the vulnerability reporting page.

Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.


Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.


Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...


Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

IoT Security

Lexmark warns of a remote code execution (RCE) vulnerability impacting over 120 printer models, for which PoC code has been published.

Application Security

A CSRF vulnerability in the source control management (SCM) service Kudu could be exploited to achieve remote code execution in multiple Azure services.


Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.