Releases: haraka/email-message
Releases · haraka/email-message
Release list
1.4.4
1.4.3
1.4.2
1.4.1
- fix(header): replace RFC 2231 regex with tokenizer (
lib/rfc2231.js)- 20-40% faster typical case, 8,000% faster adversarial case
- fix(header): replace RFC 2047 regex with tokenizer (
lib/rfc2047.js)- 2x-3x faster typical case, 1,500% faster adversarial case
- packaging / meta updates (#26)
1.4.0
1.3.4
- fix(attachment-stream): cap paused buffer (default 64MB) at
mailparser.attachment_max_bufferedand abort witherrorwhen exceeded - fix(body): require exact MIME boundary delimiter per RFC 2046 §5.1.1
- fix(body): pass
contentDispositionto filters on non-empty bodies - fix(body): propagate
#depth + 1to sibling parts inparse_child - feat(body):
options.maxMimeDepthoverrides the config-derived cap - perf(header): short-circuit _parse_rfc2231 to avoid ReDOS
- deps(all): bumped to latest
1.3.3
1.3.2
1.3.1
Fixes
- header: prevent prototype pollution
- belt: use Object.create instead of {}
- suspenders: add guards for proto, constructor, and prototype
- header: switch from recursion to iteration in parser
- prevents stack exhaustion vulnerabilities
- body: added max_mime_depth, default 100
- body: disallow empty boundaries
Changes
- dep(message-stream): update to v2
- test: added vulnerability test suite
- test: added additional test coverage
- test: ES2024, table driven