#2037 Stream reset did not discard all pending data
Reporter
MattJ
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Milestone-13.0
Status-Fixed
Priority-High
Type-Defect
Security
MattJ
on
**Description**
Prosody's xmppstream module did not sufficiently clear all state when a stream reset was triggered. This could lead to it processing untrusted data on a new stream, including data injected before TLS.
**Affected configurations**
All configurations are affected. Deployments which support starttls (almost all) are particularly vulnerable, however direct TLS (e.g. as commonly offered on port 5223) may not entirely mitigate all issues.
**Mitigation**
Upgrade to Prosody 13.0.8 as soon as possible. If an immediate upgrade is not feasible, consider allowing only direct TLS connections - but this may break interoperability with some clients/servers.
**Fixes**
xmppstream was updated to fully reset all state after a stream reset.
Commit: 82bb390a40b7
**Description** Prosody's xmppstream module did not sufficiently clear all state when a stream reset was triggered. This could lead to it processing untrusted data on a new stream, including data injected before TLS. **Affected configurations** All configurations are affected. Deployments which support starttls (almost all) are particularly vulnerable, however direct TLS (e.g. as commonly offered on port 5223) may not entirely mitigate all issues. **Mitigation** Upgrade to Prosody 13.0.8 as soon as possible. If an immediate upgrade is not feasible, consider allowing only direct TLS connections - but this may break interoperability with some clients/servers. **Fixes** xmppstream was updated to fully reset all state after a stream reset. Commit: 82bb390a40b7
Hidden