-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): bump github.com/emersion/go-smtp from 0.20.2 to 0.21.0 #1888
chore(deps): bump github.com/emersion/go-smtp from 0.20.2 to 0.21.0 #1888
Conversation
87ef545
to
35d80bd
Compare
Bumps [github.com/emersion/go-smtp](https://github.com/emersion/go-smtp) from 0.20.2 to 0.21.0. - [Release notes](https://github.com/emersion/go-smtp/releases) - [Commits](emersion/go-smtp@v0.20.2...v0.21.0) --- updated-dependencies: - dependency-name: github.com/emersion/go-smtp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
f9f44b0
to
2c083bf
Compare
2c083bf
to
1b0acd1
Compare
Introduced TLS Mode. verificationTLS Mode: "", Server TLS Mode: ""$ wget https://raw.githubusercontent.com/rnwood/smtp4dev/master/docker-compose.yml
$ docker compose up -d
$ cat config.toml
[cveDict]
type = "sqlite3"
sqlite3Path = "/data/vulsctl/docker/cve.sqlite3"
[ovalDict]
type = "sqlite3"
[gost]
type = "sqlite3"
[exploit]
type = "sqlite3"
[metasploit]
type = "sqlite3"
[kevuln]
type = "sqlite3"
[cti]
type = "sqlite3"
[email]
smtpAddr = "127.0.0.1"
smtpPort = "25"
tlsInsecureSkipVerify = false
user = "vulsio"
password = "password"
from = "from@address.com"
to = ["to@address.com"]
cc = ["cc@address.com"]
subjectPrefix = "[vuls]"
[servers]
[servers.pseudo]
type = "pseudo"
cpeNames = [
"cpe:/o:fortinet:fortios:5.6.2",
]
$ vuls report -to-email
[Apr 5 14:55:23] INFO [localhost] vuls-v0.25.2-build-20240405_145149_6e2fced
...
| CVE-2021-43206 | 4.3 | AV:N | | | | cpe:/o:fortinet:fortios:5.6.2 |
+----------------+------+--------+-----+-----------+---------+-------------------------------+ log
TLS Mode: "", Server TLS Mode: STARTTLSNote that since the connection is established twice, there will be two sessions. To avoid this, explicitly set TLS Mode to library change commit: emersion/go-smtp@416722c $ wget https://raw.githubusercontent.com/rnwood/smtp4dev/master/docker-compose.yml
# set STARTTLS Mode in docker-compose.yml
11c11
< - '25:25'
---
> - '587:587'
41c41
< #- ServerOptions__TlsMode=None
---
> - ServerOptions__TlsMode=STARTTLS
66a67
> - ServerOptions__Port=587
$ docker compose up -d
$ cat config.toml
[cveDict]
type = "sqlite3"
sqlite3Path = "/data/vulsctl/docker/cve.sqlite3"
[ovalDict]
type = "sqlite3"
[gost]
type = "sqlite3"
[exploit]
type = "sqlite3"
[metasploit]
type = "sqlite3"
[kevuln]
type = "sqlite3"
[cti]
type = "sqlite3"
[email]
smtpAddr = "127.0.0.1"
smtpPort = "587"
tlsInsecureSkipVerify = true
user = "vulsio"
password = "password"
from = "from@address.com"
to = ["to@address.com"]
cc = ["cc@address.com"]
subjectPrefix = "[vuls]"
[servers]
[servers.pseudo]
type = "pseudo"
cpeNames = [
"cpe:/o:fortinet:fortios:5.6.2",
]
$ vuls report -to-email
[Apr 5 14:55:23] INFO [localhost] vuls-v0.25.2-build-20240405_145149_6e2fced
...
| CVE-2021-43206 | 4.3 | AV:N | | | | cpe:/o:fortinet:fortios:5.6.2 |
+----------------+------+--------+-----+-----------+---------+-------------------------------+
TLS Mode: STARTTLS, Server TLS Mode: STARTTLS$ wget https://raw.githubusercontent.com/rnwood/smtp4dev/master/docker-compose.yml
# set STARTTLS Mode in docker-compose.yml
11c11
< - '25:25'
---
> - '587:587'
41c41
< #- ServerOptions__TlsMode=None
---
> - ServerOptions__TlsMode=STARTTLS
66a67
> - ServerOptions__Port=587
$ docker compose up -d
$ cat config.toml
[cveDict]
type = "sqlite3"
sqlite3Path = "/data/vulsctl/docker/cve.sqlite3"
[ovalDict]
type = "sqlite3"
[gost]
type = "sqlite3"
[exploit]
type = "sqlite3"
[metasploit]
type = "sqlite3"
[kevuln]
type = "sqlite3"
[cti]
type = "sqlite3"
[email]
smtpAddr = "127.0.0.1"
smtpPort = "587"
tlsMode = "STARTTLS"
tlsInsecureSkipVerify = true
user = "vulsio"
password = "password"
from = "from@address.com"
to = ["to@address.com"]
cc = ["cc@address.com"]
subjectPrefix = "[vuls]"
[servers]
[servers.pseudo]
type = "pseudo"
cpeNames = [
"cpe:/o:fortinet:fortios:5.6.2",
]
$ vuls report -to-email
[Apr 5 14:55:23] INFO [localhost] vuls-v0.25.2-build-20240405_145149_6e2fced
...
| CVE-2021-43206 | 4.3 | AV:N | | | | cpe:/o:fortinet:fortios:5.6.2 |
+----------------+------+--------+-----+-----------+---------+-------------------------------+
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! 👯
Bumps github.com/emersion/go-smtp from 0.20.2 to 0.21.0.
Commits
1f30586
Drop Server.AuthDisabled968926f
Drop Session.AuthPlain8063c1a
Disable AUTH when AuthSession.AuthMechanisms is emptyc5e530a
server: replace EnableAuth with AuthSessiona3cdc26
Server: The value of BODY parameter is case-insensitiveb7d153a
server: use Conn.authAllowed in handleAuthf4b1d1b
Add BackendFuncf7e2f0b
server: drop Server.caps33fe6a6
server: send error response on invalid AUTH initial response65c0260
client: add Client.SupportsAuthDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)