We study a credit risk model of a financial market in which the dynamics of intensity rates of two default times are described by linear combinations of three independent geometric Brownian motions. The dynamics of two default-free risky asset prices are modeled by two geometric Brownian motions which are dependent of the ones describing the default intensity rates. We obtain closed form expressions for the no-arbitrage prices of both risk-free and risky credit default swaps given the reference filtration initially and progressively enlarged by the two default times. The accessible default-free reference filtration is generated by the standard Brownian motions driving the model.