CVE-2022-31001

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-31001
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31001.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-31001
Aliases
  • GHSA-79jq-hh82-cv9g
Related
Published
2022-05-31T20:15:07Z
Modified
2024-12-05T15:34:49.239504Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, an attacker can send a message with evil sdp to FreeSWITCH, which may cause crash. This type of crash may be caused by #define MATCH(s, m) (strncmp(s, m, n = sizeof(m) - 1) == 0), which will make n bigger and trigger out-of-bound access when IS_NON_WS(s[n]). Version 1.13.8 contains a patch for this issue.

References

Affected packages

Alpine:v3.14 / sofia-sip

Package

Name
sofia-sip
Purl
pkg:apk/alpine/sofia-sip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.8-r0

Affected versions

1.*

1.13.2-r0
1.13.3-r0
1.13.4-r0

Alpine:v3.15 / sofia-sip

Package

Name
sofia-sip
Purl
pkg:apk/alpine/sofia-sip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.8-r0

Affected versions

1.*

1.13.2-r0
1.13.3-r0
1.13.4-r0
1.13.4-r1
1.13.4-r2
1.13.6-r0

Alpine:v3.16 / sofia-sip

Package

Name
sofia-sip
Purl
pkg:apk/alpine/sofia-sip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.8-r0

Affected versions

1.*

1.13.2-r0
1.13.3-r0
1.13.4-r0
1.13.4-r1
1.13.4-r2
1.13.6-r0
1.13.7-r0

Alpine:v3.17 / sofia-sip

Package

Name
sofia-sip
Purl
pkg:apk/alpine/sofia-sip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.8-r0

Affected versions

1.*

1.13.2-r0
1.13.3-r0
1.13.4-r0
1.13.4-r1
1.13.4-r2
1.13.6-r0
1.13.7-r0

Alpine:v3.18 / sofia-sip

Package

Name
sofia-sip
Purl
pkg:apk/alpine/sofia-sip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.8-r0

Affected versions

1.*

1.13.2-r0
1.13.3-r0
1.13.4-r0
1.13.4-r1
1.13.4-r2
1.13.6-r0
1.13.7-r0

Alpine:v3.19 / sofia-sip

Package

Name
sofia-sip
Purl
pkg:apk/alpine/sofia-sip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.8-r0

Affected versions

1.*

1.13.2-r0
1.13.3-r0
1.13.4-r0
1.13.4-r1
1.13.4-r2
1.13.6-r0
1.13.7-r0

Alpine:v3.20 / sofia-sip

Package

Name
sofia-sip
Purl
pkg:apk/alpine/sofia-sip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.8-r0

Affected versions

1.*

1.13.2-r0
1.13.3-r0
1.13.4-r0
1.13.4-r1
1.13.4-r2
1.13.6-r0
1.13.7-r0

Alpine:v3.21 / sofia-sip

Package

Name
sofia-sip
Purl
pkg:apk/alpine/sofia-sip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.8-r0

Affected versions

1.*

1.13.2-r0
1.13.3-r0
1.13.4-r0
1.13.4-r1
1.13.4-r2
1.13.6-r0
1.13.7-r0

Debian:11 / sofia-sip

Package

Name
sofia-sip
Purl
pkg:deb/debian/sofia-sip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.11+20110422.1-2.1+deb11u1

Affected versions

1.*

1.12.11+20110422.1-2.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / sofia-sip

Package

Name
sofia-sip
Purl
pkg:deb/debian/sofia-sip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.11+20110422.1+1e14eea~dfsg-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / sofia-sip

Package

Name
sofia-sip
Purl
pkg:deb/debian/sofia-sip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.11+20110422.1+1e14eea~dfsg-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/freeswitch/sofia-sip

Affected ranges

Type
GIT
Repo
https://github.com/freeswitch/sofia-sip
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.13.2
v1.13.3
v1.13.4
v1.13.5
v1.13.6
v1.13.7